[wpt-sync] Sync PR 60481 - [Gap decorations]: Preserve grid rule pattern across fragmentation
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox153 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 60481 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/60481
Details from upstream follow.
Sam Davis Omekara (from Dev Box) <samomekarajr@microsoft.com> wrote:
[Gap decorations]: Preserve grid rule pattern across fragmentation
Per CSSWG resolution 1, a row gap that gets suppressed at a
fragmentainer boundary still consumes one slot from the gap-decoration
pattern. The meta principle from the resolution is that gap decoration
assignment should be consistent in both fragmented and unfragmented
contexts.Previously, the paint code constructed
GapDataListIteratorwith the
per-fragment gap count and walked it using fragment-relative indices.
That made the pattern restart at slot 0 in every fragment and skipped
slots consumed by suppressed gaps, producing different results in the
fragmented and unfragmented case.This CL uses two states already computed and stored during layout for
the updated paint code for grid:
* The unfragmented GapGeometry total row gaps used to construct the iterator
*first_unprocessed_row_gap_idxused to map each
fragment-relative row-gap index to its slot in the unfragmented
pattern.Tests have been added to exercise this change. The flex logic will be
implemented in a subsequent change.Bug: 505387221
Change-Id: Ie4131e65c43e0eabb25a767d74146f114433234eReviewed-on: https://chromium-review.googlesource.com/7899276
WPT-Export-Revision: dc4a48fbd36e130da1359079ff3c5cd5293ed168
| Assignee | ||
Updated•3 days ago
|
| Assignee | ||
Comment 1•3 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=4efa6d8a25db2b5846af91a4ab0a6bce2759458f
| Assignee | ||
Comment 2•3 days ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 55 tests
Status Summary
Firefox
PASS: 2[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 11[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 4[GitHub] 44[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
Chrome
FAIL: 4
Safari
FAIL: 4
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-008.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-009.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-010.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-011.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-012.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-013.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-014.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-015.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-016.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-017.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-020.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-021.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-022.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-023.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-024.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-025.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-026.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-027.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-028.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-029.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-030.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-031.html [wpt.fyi]:
FAIL(Chrome:FAIL, Safari:FAIL) - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-032.html [wpt.fyi]:
FAIL(Chrome:FAIL, Safari:FAIL) - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-033.html [wpt.fyi]:
FAIL(Chrome:FAIL, Safari:FAIL) - /css/css-gaps/grid/subgrid/fragmentation/subgrid-gap-decorations-fragmentation-002.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/subgrid/fragmentation/subgrid-gap-decorations-fragmentation-003.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/subgrid/fragmentation/subgrid-gap-decorations-fragmentation-005.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/subgrid/fragmentation/subgrid-gap-decorations-fragmentation-006.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/subgrid/fragmentation/subgrid-gap-decorations-fragmentation-007.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/subgrid/fragmentation/subgrid-gap-decorations-fragmentation-008.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/subgrid/fragmentation/subgrid-gap-decorations-fragmentation-009.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/subgrid/fragmentation/subgrid-gap-decorations-fragmentation-010.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/subgrid/fragmentation/subgrid-gap-decorations-fragmentation-011.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/subgrid/fragmentation/subgrid-gap-decorations-fragmentation-012.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/subgrid/fragmentation/subgrid-gap-decorations-fragmentation-013.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/subgrid/fragmentation/subgrid-gap-decorations-fragmentation-014.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/subgrid/fragmentation/subgrid-gap-decorations-fragmentation-015.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/subgrid/fragmentation/subgrid-gap-decorations-fragmentation-016.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/subgrid/fragmentation/subgrid-gap-decorations-fragmentation-017.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/subgrid/fragmentation/subgrid-gap-decorations-fragmentation-018.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/subgrid/fragmentation/subgrid-gap-decorations-fragmentation-019.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/subgrid/fragmentation/subgrid-gap-decorations-fragmentation-020.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/subgrid/fragmentation/subgrid-gap-decorations-fragmentation-021.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/subgrid/fragmentation/subgrid-gap-decorations-fragmentation-022.html [wpt.fyi]:
FAIL(Chrome:FAIL, Safari:FAIL)
Comment 4•19 hours ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/9ece7395c62e
https://hg.mozilla.org/mozilla-central/rev/a1d9fc426de6
Description
•