Skip to content

Commit b45ecb3

Browse files
committed
Bug 1966194 [wpt PR 52504] - [Gap Decorations]: Parse column-rule shorthands,
Automatic update from web-platform-tests [Gap Decorations]: Parse column-rule shorthands This CL augments the parsing logic for `column-rule` to support the new grammar [1] for gap decorations. According to the new grammar, `column-rule` can now support list of <gap-rule>s and a <gap-rule> can be a regular or repeated <gap-rule>. For the parsing logic, the `ConsumeGapDecorationsRuleShorthand` is the top-level function responsible for parsing and hydrating the width, style, and color properties associated with gap decorations. It handles both repeated and non-repeated values. To get the computed value as specified, each property is iterated over, and a corresponding <gap-rule> is constructed at each index. Subsequent CLs will see us implement serialization,`row-rule` and `rule` properties. [1]: https://drafts.csswg.org/css-gaps-1/#propdef-column-rule Bug: 357648037 Change-Id: Ifd73efe7b3f604e2e53cabb68550cf7241c26e44 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6423813 Commit-Queue: Sam Davis Omekara <samomekarajrmicrosoft.com> Reviewed-by: Kevin Babbitt <kbabbittmicrosoft.com> Reviewed-by: Alison Maher <almahermicrosoft.com> Cr-Commit-Position: refs/heads/main{#1459604} -- wpt-commits: 5ed8f71616fdfae97e71012198898851c6cf5c88 wpt-pr: 52504 Differential Revision: https://phabricator.services.mozilla.com/D250152 UltraBlame original commit: 41d74f7e3b53e6466f514933eb132588a6f59be6
1 parent 349591f commit b45ecb3

File tree

4 files changed

+3144
-0
lines changed

4 files changed

+3144
-0
lines changed

0 commit comments

Comments
 (0)