Moved logic that deals with moving absolutely positioned frames out of the

flow to the frame construction code
This commit is contained in:
troy@netscape.com
1998-12-29 03:38:16 +00:00
parent e45405c4b5
commit 6f9192bec1
89 changed files with 2348 additions and 1732 deletions

View File

@@ -511,7 +511,7 @@ nsHTMLButtonControlFrame::SetInitialChildList(nsIPresContext& aPresContext,
// Resolve style and initialize the frame
nsIStyleContext* styleContext =
aPresContext.ResolvePseudoStyleContextFor(mContent, nsHTMLAtoms::buttonContentPseudo, mStyleContext);
mFirstChild->Init(aPresContext, mContent, this, styleContext);
mFirstChild->Init(aPresContext, mContent, this, this, styleContext);
NS_RELEASE(styleContext);
// Set the geometric and content parent for each of the child frames