LCUI icon indicating copy to clipboard operation
LCUI copied to clipboard

feat(css): define CSS property value with formal syntax

Open lc-soft opened this issue 3 years ago • 1 comments
trafficstars

Reference: https://developer.mozilla.org/en-US/docs/Web/CSS/Value_definition_syntax

TODO:

  • [x] Value definition parser
    • [x] Juxtaposition combinator
    • [x] Single bar combinator
    • [x] Double bar combinator
    • [x] Bracket combinator
    • [x] Double ampersand combinator
    • [x] Curly braces multiplier
    • [x] Question mark multiplier
  • [x] Value matcher
  • [ ] Fix memory leak bugs
  • [ ] Use formal syntax to define the values of all CSS properties
  • [ ] Let the UI library handle style properties based on the new CSS API

lc-soft avatar Apr 10 '22 06:04 lc-soft

Features

Contributors

lc-soft

Commit-Lint commands

You can trigger Commit-Lint actions by commenting on this PR:

  • @Commit-Lint merge patch will merge dependabot PR on "patch" versions (X.X.Y - Y change)
  • @Commit-Lint merge minor will merge dependabot PR on "minor" versions (X.Y.Y - Y change)
  • @Commit-Lint merge major will merge dependabot PR on "major" versions (Y.Y.Y - Y change)
  • @Commit-Lint merge disable will desactivate merge dependabot PR
  • @Commit-Lint review will approve dependabot PR
  • @Commit-Lint stop review will stop approve dependabot PR

commit-lint[bot] avatar Apr 10 '22 06:04 commit-lint[bot]

``

Wizardboy92 avatar Nov 28 '22 02:11 Wizardboy92

Codecov Report

Patch coverage: 62.20% and project coverage change: +1.23 :tada:

Comparison is base (3636ac4) 51.35% compared to head (a2bbde9) 52.59%.

Additional details and impacted files
@@             Coverage Diff              @@
##           v3.0-dev     #287      +/-   ##
============================================
+ Coverage     51.35%   52.59%   +1.23%     
============================================
  Files           103      146      +43     
  Lines         14937    14412     -525     
============================================
- Hits           7671     7580      -91     
+ Misses         7266     6832     -434     
Impacted Files Coverage Δ
lib/css/include/css/parser.h 100.00% <ø> (ø)
lib/css/src/font_face_parser.c 66.07% <ø> (ø)
lib/css/src/properties/align_content.c 0.00% <0.00%> (ø)
lib/css/src/properties/box_shadow.c 0.00% <0.00%> (ø)
lib/css/src/properties/color.c 0.00% <0.00%> (ø)
lib/css/src/properties/display.c 0.00% <0.00%> (ø)
lib/css/src/properties/font_size.c 0.00% <0.00%> (ø)
lib/css/src/properties/font_style.c 0.00% <0.00%> (ø)
lib/css/src/properties/font_weight.c 0.00% <0.00%> (ø)
lib/css/src/properties/justify_content.c 0.00% <0.00%> (ø)
... and 106 more

... and 14 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

codecov[bot] avatar Mar 12 '23 10:03 codecov[bot]