Bug 1697667 [wpt PR 27974] - [LayoutNG] Fix order OOFs are added in, a=testonly
commit79fd9a190d6cdd3ba09e573f6076a52ff6fe29fe
authorAlison Maher <almaher@microsoft.com>
Wed, 17 Mar 2021 13:26:18 +0000 (17 13:26 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Fri, 19 Mar 2021 10:34:54 +0000 (19 10:34 +0000)
tree602f28bb54ad18581f9debde80b430c60383667b
parent71604824376dbd3034b0f81b7ef749ed5dbaec4b
Bug 1697667 [wpt PR 27974] - [LayoutNG] Fix order OOFs are added in, a=testonly

Automatic update from web-platform-tests
[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}

--

wpt-commits: c693ac92f8471b78377215fc8c26826f2ac49321
wpt-pr: 27974
testing/web-platform/tests/css/css-break/out-of-flow-in-multicolumn-015.html [new file with mode: 0644]
testing/web-platform/tests/css/css-break/out-of-flow-in-multicolumn-021.html [new file with mode: 0644]