[wpt-sync] Sync PR 42458 - If there's a float ahead, it's not the last container.
Categories
(Core :: Layout: Columns, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox121 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 42458 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/42458
Details from upstream follow.
Morten Stenshorne <mstensho@chromium.org> wrote:
If there's a float ahead, it's not the last container.
is_last_container was overwritten and set to true at the end of
IsContainerForCulledInline(), because we didn't take into account the
fact that we had actually found a float in a subsequent fragmentainer.The result was that we'd incorrectly think that the first container
fragment was also the last container fragment for the culled inline.
Thus we would miss the float in the second container fragment, unless
NeedsTreeBuilderContextUpdate() returned true and saved us in
PrePaintTreeWalk::Walk().Bug: 1489177
Change-Id: I71693a842af83272a32e7d78d42c692eda076649
Reviewed-on: https://chromium-review.googlesource.com/4925370
WPT-Export-Revision: b492b64428b0c04a8aab6a7d96a42e547d7e423d
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Comment 1•3 years ago
|
||
| Assignee | ||
Comment 2•3 years ago
|
||
| 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
PASS: 1
Chrome
PASS: 1
Safari
PASS: 1
Links
Comment 5•3 years ago
|
||
| bugherder | ||
Description
•