Closed Bug 1796573 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 36574 - Miss the cache if measuring, and actual layout has fragmented.

Categories

(Core :: Layout: Columns, task, P4)

task

Tracking

()

RESOLVED FIXED
108 Branch
Tracking Status
firefox108 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Morten Stenshorne <mstensho@chromium.org> wrote:

Miss the cache if measuring, and actual layout has fragmented.

This is in order to avoid simplified layout on such a subtree, as that
would be dangerous. In the test included, (actual) layout of the inner
multicol would result layout aborting with kOutOfFragmentainerSpace,
which in turn would clear all stored layout results in
NGBlockNode::FinishLayout().

Bug: 1376859
Change-Id: I5d4613801e20b4f67425e112720ccf637b62a9cb
Reviewed-on: https://chromium-review.googlesource.com/3967751
WPT-Export-Revision: 3176eb631f52851934fb0c6b99ef9ab6bcd753b3

Component: web-platform-tests → Layout: Columns
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

CRASH: 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/7bf3e2b571c2 [wpt PR 36574] - Miss the cache if measuring, and actual layout has fragmented., a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch
You need to log in before you can comment on or make changes to this bug.