[wpt-sync] Sync PR 29244 - [LayoutNG] Multicol with OOF contained by inline ancestor
Categories
(Core :: Layout, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox91 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 29244 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/29244
Details from upstream follow.
b'Alison Maher <almaher@microsoft.com>' wrote:
[LayoutNG] Multicol with OOF contained by inline ancestor
An OOF with an inline containing block that is a direct child of a
multicol crashed because the containing block of the inline element was
detected to be the LayoutFlowThread. The reason being that
LayoutObject::FindNonAnonymousContainingBlock() checks
IsAnonymousBlock() when finding the containing block, which can be
a LayoutFlowThread. However, IsAnonymousBlock() also skips over the
anonymous wrapper of the inline container. We want to use this as the
containing block instead so that we don't end up using the
multicol as the containing block.To accomplish this, add a new bitfield for the inline NG wrapper that
is a direct child of a flow thread in LayoutObject, and allow this to be
the containing block in LayoutObject::FindNonAnonymousContainingBlock().Bug: 1079031
Change-Id: I90dc78fc541abf2a93a62da808542787a3ad2e6f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2938502
Commit-Queue: Alison Maher \<almaher@microsoft.com>
Reviewed-by: Morten Stenshorne \<mstensho@chromium.org>
Reviewed-by: Aleks Totic \<atotic@chromium.org>
Cr-Commit-Position: refs/heads/master@{#895300}
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=3e4a5a229eb0ab348f3e7695d59374fd88e03b1b
Assignee | ||
Comment 2•3 years ago
|
||
CI Results
Ran 15 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
PASS: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
Firefox-only Failures
/css/css-break/out-of-flow-in-multicolumn-056.html: FAIL
New Tests That Don't Pass
/css/css-break/out-of-flow-in-multicolumn-056.html: FAIL (Chrome: PASS, Safari: PASS)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/01a55d67733e [wpt PR 29244] - [LayoutNG] Multicol with OOF contained by inline ancestor, a=testonly https://hg.mozilla.org/integration/autoland/rev/9ddac515f459 [wpt PR 29244] - Update wpt metadata, a=testonly
Comment 4•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/01a55d67733e
https://hg.mozilla.org/mozilla-central/rev/9ddac515f459
Description
•