[wpt-sync] Sync PR 62688 - [masonry] Fix insets for overlapping gutters
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox158 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 62688 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/62688
Details from upstream follow.
Javier Contreras Tenorio <javiercon@microsoft.com> wrote:
[masonry] Fix insets for overlapping gutters
Grid-lanes resolved percentage insets against a single crossing gutter,
even when items adjacent lanes formed a wider overlapping junction.We now reuse flex's opening/closing overlap-window representation to
model each connected gap junction with two endpoints, as per the spec
[1]. We reuse some of the existing logic forNextvia a new helper
function.We then resolve percentage insets against the union of its gutters (per
the spec as well).Because grid-lanes can have spanning items, we retain "blocked" state
inside a window separately from the state after it.[1] https://www.w3.org/TR/css-gaps-1/#segment-endpoints
Bug: 343257585
Change-Id: Ifa6bf873f8b928b5e797de47bdab61359f708c51Reviewed-on: https://chromium-review.googlesource.com/8386618
WPT-Export-Revision: 28ff8afecdb8ecc781e26d50a39733ec0aa01fbc
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Comment 1•2 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=91930
| Assignee | ||
Comment 2•2 months ago
|
||
CI Results
Ran 7 Firefox configurations based on mozilla-central, and Firefox, and Chrome on GitHub CI
Total 97 tests
Status Summary
Firefox
PASS: 2
FAIL: 1[GitHub] 95[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: 3
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-gaps/grid-lanes/column-gap-decorations-001.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-002.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-003.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-004.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-005.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-006.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-007.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-008.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-009.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-010.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-011.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-012.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-013.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-014.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-015.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-016.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-017.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-018.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-019.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-020.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-021.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-022.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-023.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-024.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-025.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-026.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-027.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-028.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-029.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-030.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-031.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-033.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-036.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-037.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-038.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-039.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-040.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-041.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-break-normal.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-break-stacking-axis-noop.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-inset-across-spanner.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-inset-cap-vs-junction.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-inset-negative-cap.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-inset-negative-junction.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-inset-non-overlapping-gutter-percentage.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-inset-overlap-join.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-inset-overlapping-gutters-percentage.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-inset-percentage.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-inset-with-break-none.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-list-dense-order.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-list-fill-reverse.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-list-fill-track-reverse.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-list-grid-axis.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-list-repeat-auto-stacking.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-list-repeat-integer-stacking.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-list-spanner-independent.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-list-stacking-types.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-list-track-reverse.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/column-gap-decorations-overlap-column-over-row.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/row-gap-decorations-001.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/row-gap-decorations-002.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/row-gap-decorations-003.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/row-gap-decorations-004.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/row-gap-decorations-005.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/row-gap-decorations-006.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/row-gap-decorations-007.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/row-gap-decorations-008.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/row-gap-decorations-009.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/row-gap-decorations-010.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/row-gap-decorations-011.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/row-gap-decorations-012.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/row-gap-decorations-013.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/row-gap-decorations-014.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/row-gap-decorations-015.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/row-gap-decorations-016.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/row-gap-decorations-017.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/row-gap-decorations-018.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/row-gap-decorations-019.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/row-gap-decorations-020.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/row-gap-decorations-021.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/row-gap-decorations-022.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/row-gap-decorations-023.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/row-gap-decorations-024.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/row-gap-decorations-break-normal.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/row-gap-decorations-inset-cap-vs-junction.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/row-gap-decorations-inset-overlap-join.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/row-gap-decorations-inset-overlap-negative.html [wpt.fyi]:
FAIL(Chrome:FAIL) - /css/css-gaps/grid-lanes/row-gap-decorations-inset-overlapping-gutters-percentage.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/row-gap-decorations-inset-percentage.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/row-gap-decorations-list-fill-reverse.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/row-gap-decorations-list-fill-track-reverse.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/row-gap-decorations-list-repeat-integer-stacking.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/row-gap-decorations-list-stacking-axis.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/row-gap-decorations-list-track-reverse.html [wpt.fyi]:
FAIL - /css/css-gaps/grid-lanes/row-gap-decorations-overlap-column-over-row.html [wpt.fyi]:
FAIL
Comment 4•2 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/95975b439d74
https://hg.mozilla.org/mozilla-central/rev/a768df9bbce7
Comment 5•2 months ago
|
||
| bugherder | ||
Description
•