Closed Bug 1760213 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 33210 - Discard propagated float break tokens when discarding the line.

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
100 Branch
Tracking Status
firefox100 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 33210 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/33210
Details from upstream follow.

Morten Stenshorne <mstensho@chromium.org> wrote:

Discard propagated float break tokens when discarding the line.

Don't propagate break tokens for floats directly to
NGInlineChildLayoutContext when handling floats that get pushed below
the line. We may decide to discard the entire line and retry at a
different layout opportunity. In such cases, we'd propagate the float
break token again, and end up with duplicate fragments.

Bug: 1306811
Change-Id: I69dc2b97860f49bce1103efac8118519bf65baa7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3528736
Reviewed-by: Koji Ishii \<kojii@chromium.org>
Commit-Queue: Morten Stenshorne \<mstensho@chromium.org>
Cr-Commit-Position: refs/heads/main@{#981783}

Component: web-platform-tests → Layout
Product: Testing → Core

CI Results

Ran 11 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

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/db240b835c3d [wpt PR 33210] - Discard propagated float break tokens when discarding the line., a=testonly
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9202e0683e3c [wpt PR 33210] - Discard propagated float break tokens when discarding the line., a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 100 Branch
You need to log in before you can comment on or make changes to this bug.