LCUI
LCUI copied to clipboard
feat(css): define CSS property value with formal syntax
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
Features
- update css library (a2bbde9)
Contributors
Commit-Lint commands
You can trigger Commit-Lint actions by commenting on this PR:
@Commit-Lint merge patchwill merge dependabot PR on "patch" versions (X.X.Y - Y change)@Commit-Lint merge minorwill merge dependabot PR on "minor" versions (X.Y.Y - Y change)@Commit-Lint merge majorwill merge dependabot PR on "major" versions (Y.Y.Y - Y change)@Commit-Lint merge disablewill desactivate merge dependabot PR@Commit-Lint reviewwill approve dependabot PR@Commit-Lint stop reviewwill stop approve dependabot PR
``
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.