[wpt-sync] Sync PR 49251 - [Gap Decorations]: Introduce ColumnRuleWidth on ComputedStyle
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox135 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 49251 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/49251
Details from upstream follow.
Sam Davis Omekara (from Dev Box) <samomekarajr@microsoft.com> wrote:
[Gap Decorations]: Introduce ColumnRuleWidth on ComputedStyle
This CL introduces a new data structure to extend the ColumnRuleWidth
property for the gap decorations feature. Previously, the
column-rule-widthproperty could hold only a single width value.
However, with the gap decorations feature, this property can now hold
multiple values. The CL utilizes theGapDataListtemplate data
structure to store these values in the computed style object.
Additionally, sites that expect a single width value have been updated
to callGetLegacyValue(), which returns the single width.The CL also updates the parsing logic to return nullptr when no values
are present, allowing the use of the default value.The code is exercised through the gap-decorations-width-computed.html
test.Bug: 357648037
Change-Id: I5a28f332c57b16f90d7647c4b601b6eb32f7bb6dReviewed-on: https://chromium-review.googlesource.com/5967393
WPT-Export-Revision: 29e612958736cc14f2eebc2742bf956b3a7f07b5
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 1•1 year ago
|
||
| Assignee | ||
Comment 2•1 year ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 8 subtests
Status Summary
Firefox
OK : 1
PASS: 2
FAIL: 6
Chrome
OK : 1
PASS: 2
FAIL: 6
Safari
OK : 1
PASS: 2
FAIL: 6
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-gaps/tentative/parsing/gap-decorations-width-computed.html [wpt.fyi]
- Property column-rule-width value '2px 4px 6px':
FAIL(Chrome:FAIL, Safari:FAIL) - Property column-rule-width value 'repeat(4, 2px)':
FAIL(Chrome:FAIL, Safari:FAIL) - Property column-rule-width value 'repeat(auto, 10px)':
FAIL(Chrome:FAIL, Safari:FAIL) - Property column-rule-width value 'repeat(calc(5 + 3), 10px)':
FAIL(Chrome:FAIL, Safari:FAIL) - Property column-rule-width value 'repeat(5, 10px calc(10px + 0.5em))':
FAIL(Chrome:FAIL, Safari:FAIL) - Property column-rule-width value 'repeat(auto, min(5px, 10px)) repeat(5, 10px) calc(10px + 0.5em)':
FAIL(Chrome:FAIL, Safari:FAIL)
- Property column-rule-width value '2px 4px 6px':
Comment 5•1 year ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/1ae3fe1baada
https://hg.mozilla.org/mozilla-central/rev/fe692d6849c2
Description
•