-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
LibWeb: Add gap-rule-overlap CSS property (fixes WPT parsing) #7003
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
Hello! One or more of the commit messages in this PR do not match the Ladybird code submission policy, please check the |
457fc1a to
837652b
Compare
AtkinsSJ
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Welcome to Ladybird!
| "color-svg", | ||
| "column", | ||
| "column-reverse", | ||
| "column-over-row", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add these keywords in the same commit you add the property, otherwise that first commit won't compile.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay! They are now in the same commit, thank you!
| @@ -0,0 +1,7 @@ | |||
| Harness status: OK | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You've committed the test output but not the actual test, please add that in. 😅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, the actual test is now included!
- animation-type: discrete - inherited: false - initial: row-over-column - valid-identifiers: [row-over- column, column-over-row] Passes WPT: https://wpt.live/css/css-gaps/parsing/rule-overlap-valid.html LibWeb: Add row-over-column and column-over-row CSS keywords Enables Keyword.h enums (RowOverColumn, ColumnOverRow) for PropertyID.cpp.
Verifies gap-rule-overlap parsing passes (2/2)
837652b to
160d2b7
Compare
Adds support for the non-standard
gap-rule-overlapCSS property (from CSS Gap Decorations draft) to pass the external WPT parsing test:https://wpt.live/css/css-gaps/parsing/rule-overlap-valid.html
Changes:
Libraries/LibWeb/CSS/Properties.json:animation-type: discreteinherited: falseinitial: row-over-columnvalid-identifiers: [\"row-over-column\", \"column-over-row\"]Libraries/LibWeb/CSS/Keywords.json: Addedrow-over-column,column-over-row(alphabetical)Tests/LibWeb/Text/{input,expected}/wpt-import/css/css-gaps/parsing/rule-overlap-valid.*(2/2 PASS)Testing:
./Meta/ladybird.py rebuild LibWeb→ Clean (PropertyID.cpp compiles, Keyword.h enums generated)./Meta/ladybird.py run test-web -f Text/input/wpt-import/css/css-gaps/parsing/rule-overlap-valid.html→ PASS (2/2)./Meta/lint-ci.sh→ Clean (minor tool skips OK)No breaking changes. Small/atomic first contrib.
./Meta/lint-ci.shpassed (relevant checks)