Closed Bug 1790718 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 35886 - [LayoutNG] OOF cached layout results when column balancing

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
107 Branch
Tracking Status
firefox107 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Alison Maher <almaher@microsoft.com> wrote:

[LayoutNG] OOF cached layout results when column balancing

As a result of CL:3761109, OOFs may now participate in column
balancing. However, we can run into an infinite loop if OOF layout
results in extra minimal space shortage. If OOF layout uses the
previously cached layout result of the OOF, we would infinitely
detect the same space shortage.

Instead, clear out the OOF's layout result when column balancing to
ensure those results don't get re-used later on.

Bug: 1362550
Change-Id: Ic8266211d8c6b1574710f03b0eb1e85bb02621fc
Reviewed-on: https://chromium-review.googlesource.com/3894720
WPT-Export-Revision: efda0aedf1a88f5a0d8cf184e54fa705b813e2d0

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

TIMEOUT: 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/de8d0ca88946 [wpt PR 35886] - [LayoutNG] OOF cached layout results when column balancing, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 107 Branch
You need to log in before you can comment on or make changes to this bug.