[wpt-sync] Sync PR 62358 - [Masonry] Support OOF fragmentation
Categories
(Core :: Layout, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox157 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 62358 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/62358
Details from upstream follow.
Alison Maher <almaher@microsoft.com> wrote:
[Masonry] Support OOF fragmentation
Out-of-flow grid-lanes descendants were only collected during the
initial layout pass. An item whose static position belonged to a later
fragment could therefore be added to the wrong fragment and laid out
incorrectly.Persist pending OOF children in
GridLanesBreakTokenDataand restore
them for each continuation. Resolve static positions against the full
stitched block size, translate them into fragment-local coordinates, and
defer candidates until their position belongs in the current fragment.
This follows the grid fragmentation approach for both row and column
grid-lanes.Add WPT coverage for alignment, nested and external containing blocks,
writing modes, fill and track reversal, intrinsic sizing, and explicit
grid areas. Expected failures reflect the remaining break-rule and row
expansion limitations of grid lanes in general.Bug: 343257585
Change-Id: Id00a426e5965da01e48e0ea6ea2888823b1e12f6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8327892
Commit-Queue: Alison Maher \<almaher@microsoft.com>
Reviewed-by: Morten Stenshorne \<mstensho@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1689953}
| Assignee | ||
Updated•9 days ago
|
| Assignee | ||
Comment 1•9 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=4ee4901390828b2ff203f45c2ac89f500eab7081
| Assignee | ||
Comment 2•9 days ago
|
||
CI Results
Ran 7 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 42 tests
Status Summary
Firefox
PASS: 5[GitHub] 13[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: 19[GitHub] 29[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
PASS: 11
FAIL: 13
Safari
PASS: 17
FAIL: 7
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
Firefox-only Failures
- /css/css-break/grid/grid-lanes/column-grid-lanes-oof-fragmentation-005.html [wpt.fyi]:
FAIL - /css/css-break/grid/grid-lanes/column-grid-lanes-oof-fragmentation-007.html [wpt.fyi]:
FAIL - /css/css-break/grid/grid-lanes/column-grid-lanes-oof-fragmentation-008.html [wpt.fyi]:
FAIL - /css/css-break/grid/grid-lanes/column-grid-lanes-oof-fragmentation-010.html [wpt.fyi]:
FAIL - /css/css-break/grid/grid-lanes/column-multi-lane-fragmentation-005.html [wpt.fyi]:
FAIL - /css/css-break/grid/grid-lanes/row-grid-lanes-oof-fragmentation-005.html [wpt.fyi]:
FAIL - /css/css-break/grid/grid-lanes/row-grid-lanes-oof-fragmentation-008.html [wpt.fyi]:
FAIL
New Tests That Don't Pass
- /css/css-break/grid/grid-lanes/column-grid-lanes-oof-fragmentation-003.html [wpt.fyi]:
FAIL(Chrome:FAIL, Safari:FAIL) - /css/css-break/grid/grid-lanes/column-grid-lanes-oof-fragmentation-004.html [wpt.fyi]:
FAIL(Chrome:FAIL, Safari:FAIL) - /css/css-break/grid/grid-lanes/column-grid-lanes-oof-fragmentation-005.html [wpt.fyi]:
FAIL(Chrome:PASS, Safari:PASS) - /css/css-break/grid/grid-lanes/column-grid-lanes-oof-fragmentation-007.html [wpt.fyi]:
FAIL(Chrome:PASS, Safari:PASS) - /css/css-break/grid/grid-lanes/column-grid-lanes-oof-fragmentation-008.html [wpt.fyi]:
FAIL(Chrome:PASS, Safari:PASS) - /css/css-break/grid/grid-lanes/column-grid-lanes-oof-fragmentation-009.html [wpt.fyi]:
FAIL(Chrome:FAIL, Safari:PASS) - /css/css-break/grid/grid-lanes/column-grid-lanes-oof-fragmentation-010.html [wpt.fyi]:
FAIL(Chrome:PASS, Safari:PASS) - /css/css-break/grid/grid-lanes/column-grid-lanes-oof-fragmentation-011.html [wpt.fyi]:
FAIL(Chrome:PASS, Safari:FAIL) - /css/css-break/grid/grid-lanes/column-grid-lanes-oof-fragmentation-012.html [wpt.fyi]:
FAIL(Chrome:FAIL, Safari:FAIL) - /css/css-break/grid/grid-lanes/column-multi-lane-fragmentation-001.html [wpt.fyi]:
FAIL - /css/css-break/grid/grid-lanes/column-multi-lane-fragmentation-002.html [wpt.fyi]:
FAIL - /css/css-break/grid/grid-lanes/column-multi-lane-fragmentation-004.html [wpt.fyi]:
FAIL - /css/css-break/grid/grid-lanes/column-multi-lane-fragmentation-005.html [wpt.fyi]:
FAIL(Chrome:PASS, Safari:PASS) - /css/css-break/grid/grid-lanes/grid-lanes-container-fragmentation-003.html [wpt.fyi]:
FAIL - /css/css-break/grid/grid-lanes/grid-lanes-container-fragmentation-004.html [wpt.fyi]:
FAIL - /css/css-break/grid/grid-lanes/grid-lanes-container-fragmentation-005.html [wpt.fyi]:
FAIL - /css/css-break/grid/grid-lanes/grid-lanes-container-fragmentation-007.tentative.html [wpt.fyi]:
FAIL - /css/css-break/grid/grid-lanes/grid-lanes-fragmentation-001.html [wpt.fyi]:
FAIL - /css/css-break/grid/grid-lanes/grid-lanes-fragmentation-002.html [wpt.fyi]:
FAIL - /css/css-break/grid/grid-lanes/grid-lanes-fragmentation-003.html [wpt.fyi]:
FAIL - /css/css-break/grid/grid-lanes/row-grid-lanes-oof-fragmentation-001.html [wpt.fyi]:
FAIL(Chrome:FAIL, Safari:PASS) - /css/css-break/grid/grid-lanes/row-grid-lanes-oof-fragmentation-002.html [wpt.fyi]:
FAIL(Chrome:FAIL, Safari:PASS) - /css/css-break/grid/grid-lanes/row-grid-lanes-oof-fragmentation-005.html [wpt.fyi]:
FAIL(Chrome:PASS, Safari:PASS) - /css/css-break/grid/grid-lanes/row-grid-lanes-oof-fragmentation-006.html [wpt.fyi]:
FAIL(Chrome:FAIL, Safari:FAIL) - /css/css-break/grid/grid-lanes/row-grid-lanes-oof-fragmentation-007.html [wpt.fyi]:
FAIL(Chrome:FAIL, Safari:PASS) - /css/css-break/grid/grid-lanes/row-grid-lanes-oof-fragmentation-008.html [wpt.fyi]:
FAIL(Chrome:PASS, Safari:PASS) - /css/css-break/grid/grid-lanes/row-grid-lanes-oof-fragmentation-009.html [wpt.fyi]:
FAIL(Chrome:FAIL, Safari:PASS) - /css/css-break/grid/grid-lanes/row-grid-lanes-oof-fragmentation-010.html [wpt.fyi]:
FAIL(Chrome:FAIL, Safari:FAIL) - /css/css-break/grid/grid-lanes/row-grid-lanes-oof-fragmentation-011.html [wpt.fyi]:
FAIL(Chrome:FAIL, Safari:FAIL)
https://hg.mozilla.org/mozilla-central/rev/95a9075ec08a
https://hg.mozilla.org/mozilla-central/rev/ab15559b9282
Description
•