Closed Bug 2092427 Opened 4 days ago Closed 2 days ago

[wpt-sync] Sync PR 64518 - [grid-lanes] Store per-fragment lane state in break tokens

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Kurt Catti-Schmidt <kschmi@microsoft.com> wrote:

[grid-lanes] Store per-fragment lane state in break tokens

Move lane fragmentation state into GridLaneData carried by break
tokens. Shallow-copy lanes when resuming layout, preserving shared items
and placement data without modifying earlier tokens.

Calculate item expansion from the original block size and the child’s
consumed size, and track margin consumption through child break tokens.

Add unit tests verifying shared placement data and independent
fragmentation state across fragments, and WPTs covering spanner
expansion.

Bug: 343257585
Change-Id: I0f54da6461e95d17bbd6a5130cf5ec12c7e08648
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8640352
Commit-Queue: Kurt Catti-Schmidt \<kschmi@microsoft.com>
Reviewed-by: Morten Stenshorne \<mstensho@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1733058}

Component: web-platform-tests → Layout
Product: Testing → Core

CI Results

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

Total 122 tests

Status Summary

Firefox

PASS: 51
FAIL: 3[GitHub] 71[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: 3

Safari

PASS: 3

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

New Tests That Don't Pass

Status: NEW → RESOLVED
Closed: 2 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.