Closed Bug 1762943 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 33495 - Disable relayout on intrinsic size change when fragmented.

Categories

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

task

Tracking

()

RESOLVED FIXED
101 Branch
Tracking Status
firefox101 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Morten Stenshorne <mstensho@chromium.org> wrote:

Disable relayout on intrinsic size change when fragmented.

The particular problem that I found with this was the call to
ClearLayoutResults(), which ended up removing not only the layout result
we had just produced, but any results from previous fragmentainers as
well, causing misery further down the road when trying to write back the
new fragment to the LayoutBox at an index out of range. Since it doesn't
seem to make a lot of sense to handle intrinsic inline-size changes
after having produced fragments in earlier fragmentainers, just disable
this if we're resuming layout.

See also crbug.com/1312948

Bug: 1308960
Change-Id: I7ab97507420473bc6c3522d75128ae3292cf3e26
Reviewed-on: https://chromium-review.googlesource.com/3568457
WPT-Export-Revision: 7b97b2fec6316325e72cc9523390b751b901ac58

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

CI Results

Ran 0 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

GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/473b20ed9de1
[wpt PR 33495] - Disable relayout on intrinsic size change when fragmented., a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch
You need to log in before you can comment on or make changes to this bug.