Bug 1676529 [wpt PR 26467] - [LayoutNG] Find sibling spanners using the child iterato...
commit759e7db1fa258df6973aaff9175e1928ef130959
authorMorten Stenshorne <mstensho@chromium.org>
Wed, 11 Nov 2020 10:28:34 +0000 (11 10:28 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Wed, 11 Nov 2020 16:39:23 +0000 (11 16:39 +0000)
tree54a99c9b456a09c770401aeb9454161ec5934069
parentdf9fce4620302027ed63bf8058df2b833d415125
Bug 1676529 [wpt PR 26467] - [LayoutNG] Find sibling spanners using the child iterator., a=testonly

Automatic update from web-platform-tests
[LayoutNG] Find sibling spanners using the child iterator.

We need to update the child iterator with where we ended up, so that the
check (after the outer loop) for whether we're at the end or not works
as intended, so that we SetHasSeenAllChildren() if we're at the end,
lest we start from the very beginning of the multicol container when
resuming layout after the spanners, which would result in an "infinite"
loop (well, until we run out of memory, anyway).

Bug: 1052834
Change-Id: I6650e9dc2c209ef6097b067344c9cff019ee4071
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2527139
Reviewed-by: Alison Maher <almaher@microsoft.com>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#825983}

--

wpt-commits: f9a1b19950dab7ad4d265c4c3258ca8a78b1298d
wpt-pr: 26467
testing/web-platform/tests/css/css-multicol/multicol-span-all-margin-003.html [new file with mode: 0644]