Closed Bug 1561377 Opened 7 years ago Closed 7 years ago

[wpt-sync] Sync PR 17504 - [LayoutNG] Don't run the OOFLayoutPart if we have any adjoining floats.

Categories

(Core :: CSS Parsing and Computation, defect, P4)

defect

Tracking

()

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Ian Kilpatrick <ikilpatrick@chromium.org> wrote:

[LayoutNG] Don't run the OOFLayoutPart if we have any adjoining floats.

If we have adjoining floats we'll revisit the node to correctly place
floats. During the first pass we may not have floats present within
lineboxes, causing NGContainerFragmentBuilder::GetChildOffset to fail.

This makes sure we don't run the OOFLayoutPart for this condition.

There is a followup cleanup patch I'll send out for review later which
speculatively places floats avoiding this condition also:
https://chromium-review.googlesource.com/c/chromium/src/+/1619047

Bug: 976397
Change-Id: I10db8207357572521fc9103134cb6fbf885c4a94

Reviewed-on: https://chromium-review.googlesource.com/1676727
WPT-Export-Revision: 87eac7c058e7a2186558c3b3b40939c4c2bb0e44

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Failed to get results from try push
Pushed by james@hoppipolla.co.uk: https://hg.mozilla.org/integration/mozilla-inbound/rev/c14d7dfb81d9 [wpt PR 17504] - [LayoutNG] Don't run the OOFLayoutPart if we have any adjoining floats., a=testonly
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
You need to log in before you can comment on or make changes to this bug.