[wpt-sync] Sync PR 28134 - [LayoutNG] Out-of-flow static position for legacy
Categories
(Core :: Layout: Columns, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox88 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 28134 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/28134
Details from upstream follow.
b'Alison Maher <almaher@microsoft.com>' wrote:
[LayoutNG] Out-of-flow static position for legacy
When an out-of-flow positioned element's containing block is the
viewport, the static position gets re-computed using legacy layout.
There were a couple issues with how this was being computed for OOF
elements that were nested inside a multicol:
SetStaticPositionFromNG() was not getting called for these OOF
elements since the flow thread parent never matched any of the layout
objects as the OOF was propagated up the tree. To fix this,
SetStaticPositionFromNG() gets set if the parent is a flow thread
and the current container object is a fragmentainer.The static position for elements after a spanner break were
miscomputed since legacy expects the block offset to include the
block contribution from previous columns. This is fixed by using
the previous break token of the column to determine the expected
static position to pass into SetStaticPositionFromNG().Bug: 1188436
Change-Id: If7db7594772df8a0697427470e66ee0d5a9f8038
Reviewed-on: https://chromium-review.googlesource.com/2771079
WPT-Export-Revision: 075dfc0fd01cdcf08211725cca4b50ca96beda02
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=2c7f358b29bd13628d33bc03429b730ef226c2f1
Assignee | ||
Comment 2•3 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=18ef0ca1e831b24a3c267080db6004bd44040e15
Assignee | ||
Comment 3•3 years ago
|
||
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
PASS: 1
Safari
FAIL: 1
Links
Details
New Tests That Don't Pass
/css/css-multicol/abspos-after-spanner-static-pos.html: FAIL (Chrome: PASS, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/364b73173049 [wpt PR 28134] - [LayoutNG] Out-of-flow static position for legacy, a=testonly https://hg.mozilla.org/integration/autoland/rev/84ce89ce986d [wpt PR 28134] - Update wpt metadata, a=testonly
Comment 5•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/364b73173049
https://hg.mozilla.org/mozilla-central/rev/84ce89ce986d
Description
•