Closed Bug 2080547 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 63509 - [Masonry] Preserve item end margins during fragmentation

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Alison Maher <almaher@microsoft.com> wrote:

[Masonry] Preserve item end margins during fragmentation

Grid-lanes items include their block-end margins during initial
placement, but the per-fragment placement pass only used the fragment
border-box end. When a column item finished in a fragmentainer, this
could make the container fragment intrinsic block size too small and
incorrectly carry trailing space into another fragment.

Persist each resolved block-end margin in the shared item placement
data. Include it when the item first reaches its block end, then clear
it so parallel-flow continuations cannot apply it again.

Bug: 343257585
Change-Id: Idd1987b184dbe85f7ba5b3213cac563d753c5a1f
Reviewed-on: https://chromium-review.googlesource.com/8532867
WPT-Export-Revision: 0a0b8e17fa1e2d31ab93bcca8486b0dda85cac45

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

CI Results

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

Total 1 tests

Status Summary

Firefox

FAIL: 1

Chrome

FAIL: 1

Safari

FAIL: 1

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

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