зеркало из https://github.com/mozilla/gecko-dev.git
Fix for annoying assert. Bug 202717, r+sr=rbs
This commit is contained in:
Родитель
0db0ca30d4
Коммит
361ffc144f
|
@ -5031,10 +5031,11 @@ nsCSSFrameConstructor::ConstructHTMLFrame(nsIPresShell* aPresShell,
|
|||
CreateAnonymousFrames(aPresShell, aPresContext, aTag, aState, aContent, newFrame,
|
||||
PR_FALSE, childItems);
|
||||
|
||||
|
||||
// Set the frame's initial child list
|
||||
if (childItems.childList) {
|
||||
newFrame->SetInitialChildList(aPresContext, nsnull, childItems.childList);
|
||||
}
|
||||
}
|
||||
|
||||
// If the frame is positioned, then create a placeholder frame
|
||||
if (canBePositioned && (isAbsolutelyPositioned || isFixedPositioned)) {
|
||||
|
|
|
@ -5031,10 +5031,11 @@ nsCSSFrameConstructor::ConstructHTMLFrame(nsIPresShell* aPresShell,
|
|||
CreateAnonymousFrames(aPresShell, aPresContext, aTag, aState, aContent, newFrame,
|
||||
PR_FALSE, childItems);
|
||||
|
||||
|
||||
// Set the frame's initial child list
|
||||
if (childItems.childList) {
|
||||
newFrame->SetInitialChildList(aPresContext, nsnull, childItems.childList);
|
||||
}
|
||||
}
|
||||
|
||||
// If the frame is positioned, then create a placeholder frame
|
||||
if (canBePositioned && (isAbsolutelyPositioned || isFixedPositioned)) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче