[wpt-sync] Sync PR 24646 - Apply |PostLayout| to |LayoutBox| instead of |LayoutBlockFlow|
Categories
(Core :: Layout, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox80 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 24646 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/24646
Details from upstream follow.
Koji Ishii <kojii@chromium.org> wrote:
Apply |PostLayout| to |LayoutBox| instead of |LayoutBlockFlow|
|PostLayout| was limited to |LayoutBlockFlow| because
crbug.com/965639 could happen only to|LayoutBlockFlow|,
but following conditions have changed:
- Only |LayoutBlockFlow| could be relayout boundary, until
r772560 \<crrev.com/c/2219312>.- Only |LayoutBlockFlow| was laid out by LayoutNG, until
|LayoutNGFlexibleBox| inherits from |LayoutBlock|.This patch changes |PostLayout| to work for |LayoutBox|.
In doing so, two changes were made:
- |CurrentFragment| is replaced with |GetPhysicalFragment|
because the former is not available for |LayoutBox|.- Stopped checking |IsRelayoutBoundary|. Though it is the
only case crbug.com/965639 can happen as far as we're
aware of, checking |NGPhysicalFragment| is more
essential and sufficient.The change 1 also helps \<crbug.com/1061423>, but we may need
different approach to support block fragmentation.Bug: 1102151, 965639
Change-Id: Id83be614066392a4c58c8b03bd16ee57ad82e145Reviewed-on: https://chromium-review.googlesource.com/2302984
WPT-Export-Revision: 1092f4cae1954bf70bd1f0422537e8a41129afa2
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=481466584a9c5e92c76af26a301cd5d93c0e16dc
Assignee | ||
Comment 2•4 years ago
|
||
CI Results
Ran 12 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 1 subtests
Status Summary
Firefox
OK : 1
PASS: 1
Chrome
OK : 1
PASS: 1
Safari
OK : 1
PASS: 1
Links
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e68a21534501 [wpt PR 24646] - Apply |PostLayout| to |LayoutBox| instead of |LayoutBlockFlow|, a=testonly
Comment 4•4 years ago
|
||
bugherder |
Description
•