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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user