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

flow to the frame construction code


git-svn-id: svn://10.0.0.236/trunk@16924 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
troy%netscape.com
1998-12-29 03:38:16 +00:00
parent eb80b6fbaa
commit 9a7f94d20b
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