Closed Bug 1784132 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 35424 - OOF logic when the CB hasn't completed layout

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
106 Branch
Tracking Status
firefox106 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Depends on 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Alison Maher <almaher@microsoft.com> wrote:

OOF logic when the CB hasn't completed layout

When we lay out an OOF early for column balancing, we abort early if
the associated CB hasn't completed layout. In addition to checking that
the last CB fragment has a break token, also check that there are any
fragments at all.

I'm not sure why this was exposed by table fragmentation specifically,
but it seems reasonable to abort OOF layout in such cases.

Bug: 1351677
Change-Id: I2c2fbe66ea11dae028bca892fe3fcd90bc1a7869
Reviewed-on: https://chromium-review.googlesource.com/3823699
WPT-Export-Revision: 174058799d05292d11f8b8c3d4334a0585d5aa88

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

CI Results

Ran 9 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/09168dc2ebfb [wpt PR 35424] - OOF logic when the CB hasn't completed layout, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 106 Branch
You need to log in before you can comment on or make changes to this bug.