зеркало из https://github.com/mozilla/gecko-dev.git
Bug 346405. Handle reparenting of empty float lists. r+sr=dbaron
This commit is contained in:
Родитель
32a3b83c42
Коммит
6088c2756c
|
@ -252,6 +252,10 @@ nsInlineFrame::ReparentFloatsForInlineChild(nsIFrame* aOurLineContainer,
|
|||
NS_ASSERTION(aOurLineContainer->GetNextContinuation() ||
|
||||
aOurLineContainer->GetPrevContinuation(),
|
||||
"Don't call this when we have no continuation, it's a waste");
|
||||
if (!aFrame) {
|
||||
NS_ASSERTION(aReparentSiblings, "Why did we get called?");
|
||||
return;
|
||||
}
|
||||
|
||||
nsIFrame* ancestor = aFrame;
|
||||
nsIFrame* ancestorBlockChild;
|
||||
|
|
Загрузка…
Ссылка в новой задаче