Closed Bug 1697667 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 27974 - [LayoutNG] Fix order OOFs are added in

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
88 Branch
Tracking Status
firefox88 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

b'Alison Maher <almaher@microsoft.com>' wrote:

[LayoutNG] Fix order OOFs are added in

We were adding OOFs to columns in an incorrect order. Instead of
simply looking at IsFirstForNode(), we have to look at the order of
the child break tokens in the incoming column break token. This CL
updates NGSimplifiedOOFLayoutAlgorithm to look at incoming break
tokens to determine this order.

Bug: 1079031
Change-Id: I03e627abd431df259affc42a2414ef2a123a3444
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2746814
Reviewed-by: Morten Stenshorne \<mstensho@chromium.org>
Commit-Queue: Alison Maher \<almaher@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#861707}

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

CI Results

Ran 15 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 2 tests

Status Summary

Firefox

FAIL: 2

Chrome

PASS: 2

Safari

PASS: 1
FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

/css/css-break/out-of-flow-in-multicolumn-015.html: FAIL

New Tests That Don't Pass

/css/css-break/out-of-flow-in-multicolumn-015.html: FAIL (Chrome: PASS, Safari: PASS)
/css/css-break/out-of-flow-in-multicolumn-021.html: FAIL (Chrome: PASS, Safari: FAIL)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7975fc877d0f [wpt PR 27974] - [LayoutNG] Fix order OOFs are added in, a=testonly https://hg.mozilla.org/integration/autoland/rev/f4200c4f0139 [wpt PR 27974] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
You need to log in before you can comment on or make changes to this bug.