mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Bug 1666592 - Check overflow list's emptiness as soon as we finish using it. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D91991
This commit is contained in:
parent
45aaeb9042
commit
029fda1258
2
layout/generic/crashtests/1666592.html
Normal file
2
layout/generic/crashtests/1666592.html
Normal file
@ -0,0 +1,2 @@
|
||||
<style>#a{display:flex;flex-flow:column-reverse}:not(w){column-width:1px</style><l id="a"><<label id="a">x<l>x</label>a i
|
||||
|
@ -783,3 +783,4 @@ load 1648577.html
|
||||
load 1652618.html
|
||||
load 1652897.html
|
||||
asserts(0-7) load 1654925.html
|
||||
load 1666592.html
|
||||
|
@ -1877,13 +1877,14 @@ void nsContainerFrame::NormalizeChildLists() {
|
||||
f = next;
|
||||
}
|
||||
|
||||
if (ourOverflow->IsEmpty()) {
|
||||
DestroyOverflowList();
|
||||
ourOverflow = nullptr;
|
||||
}
|
||||
if (items.NotEmpty()) {
|
||||
PullItemsNextInFlow(items);
|
||||
}
|
||||
MergeSortedFrameLists(mFrames, items, GetContent());
|
||||
if (ourOverflow->IsEmpty()) {
|
||||
DestroyOverflowList();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user