[wpt-sync] Sync PR 32132 - [Layout
NG] OOF in nested multicol with spanner CB paint offset
(Core :: Layout, task, P4)
(Reporter: mozilla.org, Unassigned)
(Blocks 1 open bug,
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 32132 into mozilla-central (this bug is closed when the sync is complete).
Details from upstream follow.
Alison Maher <email@example.com> wrote:
[LayoutNG] OOF in nested multicol with spanner CB paint offset
As a result of CL:3343283, when an OOF has a spanner CB (or a CB
inside a spanner) it will get laid out in the next outer fragmentainer
(if there is one).
The OOF offset in this case is correct at layout, but the offset
would get shifted by the incorrect fragmentainer offset (i.e. by the
inner fragmentainer offset rather than the outer).
The reason being that when we hit a spanner during prepaint, we update
the current fragmentainer to the outer fragmentainer. Because of this,
we will successfully find the OOF during fragment traversal.
The problem is that paint_offset_for_oof_in_fragmentainer does not
also get updated to match the outer fragmentainer. This CL fixes
this by also updating paint_offset_for_oof_in_fragmentainer when
we hit a spanner to ensure the OOF is adjusted by the correct offset.
1 year ago
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=bc39e4505e034b18b68f77ac3f93f960ca5966e0
1 year ago
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 4 tests
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
New Tests That Don't Pass
/css/css-break/out-of-flow-in-multicolumn-078.html: FAIL (Chrome: PASS, Safari: PASS)
/css/css-break/out-of-flow-in-multicolumn-080.html: FAIL (Chrome: FAIL, Safari: PASS)
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/autoland/rev/c54e934a40f9 [wpt PR 32132] - [LayoutNG] OOF in nested multicol with spanner CB paint offset, a=testonly https://hg.mozilla.org/integration/autoland/rev/aa1c75cac032 [wpt PR 32132] - Update wpt metadata, a=testonly
1 year ago