mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Auto merge of #15466 - hiei23:master, r=Wafflespeanut
-added parsing and serialization for grid-{row,column}-gap <!-- Please describe your changes on the following line: --> I have added an implementation for grid-{row,column}-gap based on the predefined type property suggestion in the description --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #15310 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/15466) <!-- Reviewable:end -->
This commit is contained in:
commit
aea6797a94
1 changed files with 14 additions and 0 deletions
|
@ -229,3 +229,17 @@ ${helpers.predefined_type("object-position",
|
|||
products="gecko",
|
||||
boxed=True)}
|
||||
% endfor
|
||||
|
||||
${helpers.predefined_type("grid-row-gap",
|
||||
"LengthOrPercentage",
|
||||
"computed::LengthOrPercentage::Length(Au(0))",
|
||||
spec="https://drafts.csswg.org/css-grid/#propdef-grid-row-gap",
|
||||
animatable=True,
|
||||
products="gecko")}
|
||||
|
||||
${helpers.predefined_type("grid-column-gap",
|
||||
"LengthOrPercentage",
|
||||
"computed::LengthOrPercentage::Length(Au(0))",
|
||||
spec="https://drafts.csswg.org/css-grid/#propdef-grid-column-gap",
|
||||
animatable=True,
|
||||
products="gecko")}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue