зеркало из https://github.com/mozilla/gecko-dev.git
Destroy the pushed floats list in nsBlockFrame::DestroyFrom. (Bug 585598) r=roc a2.0=blocking
This commit is contained in:
Родитель
219e24a238
Коммит
f4944f292c
|
@ -0,0 +1,7 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-print">
|
||||
<span style="float: left;page-break-before: right;">
|
||||
<select style="float: left;">
|
||||
</select>
|
||||
</span>
|
||||
|
||||
</html>
|
|
@ -328,3 +328,4 @@ load 564968.xhtml
|
|||
load 570160.html
|
||||
load 571618-1.svg
|
||||
load 574958.xhtml
|
||||
load 585598-1.xhtml
|
||||
|
|
|
@ -316,6 +316,11 @@ nsBlockFrame::DestroyFrom(nsIFrame* aDestructRoot)
|
|||
// Now clear mFrames, since we've destroyed all the frames in it.
|
||||
mFrames.Clear();
|
||||
|
||||
nsFrameList* pushedFloats = RemovePushedFloats();
|
||||
if (pushedFloats) {
|
||||
pushedFloats->DestroyFrom(aDestructRoot);
|
||||
}
|
||||
|
||||
// destroy overflow lines now
|
||||
nsLineList* overflowLines = RemoveOverflowLines();
|
||||
if (overflowLines) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче