зеркало из https://github.com/mozilla/gecko-dev.git
Changed ConstructDocElementFrame() to make sure we call CreateViewForFrame()
for the document element's frame
This commit is contained in:
Родитель
50b00d08f7
Коммит
20410053f1
|
@ -1661,6 +1661,8 @@ nsCSSFrameConstructor::ConstructDocElementFrame(nsIPresContext* aPresContext,
|
|||
|
||||
NS_NewAreaFrame(areaFrame, 0);
|
||||
areaFrame->Init(*aPresContext, aDocElement, aParentFrame, styleContext, nsnull);
|
||||
nsHTMLContainerFrame::CreateViewForFrame(*aPresContext, areaFrame,
|
||||
styleContext, PR_FALSE);
|
||||
|
||||
// The area frame is the "initial containing block"
|
||||
mInitialContainingBlock = areaFrame;
|
||||
|
|
|
@ -1661,6 +1661,8 @@ nsCSSFrameConstructor::ConstructDocElementFrame(nsIPresContext* aPresContext,
|
|||
|
||||
NS_NewAreaFrame(areaFrame, 0);
|
||||
areaFrame->Init(*aPresContext, aDocElement, aParentFrame, styleContext, nsnull);
|
||||
nsHTMLContainerFrame::CreateViewForFrame(*aPresContext, areaFrame,
|
||||
styleContext, PR_FALSE);
|
||||
|
||||
// The area frame is the "initial containing block"
|
||||
mInitialContainingBlock = areaFrame;
|
||||
|
|
Загрузка…
Ссылка в новой задаче