Closed Bug 2086922 Opened 1 month ago Closed 17 days ago

[wpt-sync] Sync PR 64123 - [Masonry] Complete descendant standalone sizing through grid-lanes subgrids

Categories

(Core :: Layout: Grid, task, P4)

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 64123 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/64123
Details from upstream follow.

Yanling Wang <yanlingwang@microsoft.com> wrote:

[Masonry] Complete descendant standalone sizing through grid-lanes subgrids

GridLanesLayoutAlgorithm::CompleteTrackSizingAlgorithm() returns
early when the requested direction is not the container's grid axis.
This also prevents traversal into nested regular grid subgrids whose
standalone tracks need sizing in that direction, leaving their geometry
unresolved.

To fix this issue, continue sizing traversal through child subgrids
before returning. Added related wpt tests.

Bug: 343257585
Change-Id: I2459143c898350ee18e1e4f4f7f51962c39b2110
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8615272
Reviewed-by: Celeste Pan \<celestepan@microsoft.com>
Reviewed-by: Alison Maher \<almaher@microsoft.com>
Commit-Queue: Yanling Wang \<yanlingwang@microsoft.com>
Reviewed-by: Javier Contreras \<javiercon@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1726089}

Component: web-platform-tests → Layout: Grid
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

Ran 7 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 7 tests

Status Summary

Firefox

PASS: 4[GitHub] 5[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: 2

Chrome

FAIL: 4

Safari

PASS: 2
FAIL: 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/078dffb5cdf5 https://hg.mozilla.org/integration/autoland/rev/0626c70c0fea [wpt PR 64123] - [Masonry] Complete descendant standalone sizing through grid-lanes subgrids, a=testonly
Status: NEW → RESOLVED
Closed: 17 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.