Fixed CreateWrapperFrame() so it resets the geometric and content parent pointers

of the frame being wrapped
This commit is contained in:
troy@netscape.com
1998-11-17 05:47:06 +00:00
parent 980e688374
commit 5bfe65f2b1
2 changed files with 4 additions and 0 deletions
@@ -234,6 +234,8 @@ nsHTMLContainerFrame::CreateWrapperFrame(nsIPresContext& aPresContext,
NS_RELEASE(pseudoStyle);
// Init the body frame
aFrame->SetGeometricParent(aWrapperFrame);
aFrame->SetContentParent(aWrapperFrame);
aWrapperFrame->SetInitialChildList(aPresContext, nsnull, aFrame);
}