[wpt-sync] Sync PR 36386 - [FlexNG] RelayoutAndBreakEarlier stack overflow
Categories
(Core :: Layout, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox108 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 36386 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/36386
Details from upstream follow.
Alison Maher <almaher@microsoft.com> wrote:
[FlexNG] RelayoutAndBreakEarlier stack overflow
Similar to CL:3582397, if we RelayoutIgnoringChildScrollbarChanges()
and then RelayoutAndBreakEarlier(), we would hit a stack overflow
because RelayoutAndBreakEarlier() doesn't set
ignore_child_scrollbar_changes_
(which leads us to alternate between
the two relayouts infinitely).To fix this, create a new RelayoutAndBreakEarlier() overload in
NGLayoutAlgorithm that takes and Algorithm as input. This allows us
to pass in an Algorithm to RelayoutAndBreakEarlier() from
NGFlexLayoutAlgorithm that setsignore_child_scrollbar_changes_
correctly.Bug: 1370404
Change-Id: I9a98749d30e55cdc2aad3c8e001e2e226354b509Reviewed-on: https://chromium-review.googlesource.com/3942358
WPT-Export-Revision: 0083ae32b83548b2819b02ed7d393ea99b28cfd6
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Comment 2•3 years ago
|
||
Assignee | ||
Comment 3•3 years ago
|
||
Assignee | ||
Comment 5•3 years ago
|
||
Comment 6•3 years ago
|
||
bugherder |
Description
•