Make the frame constructor state and save state automatically handle inserting
out of flows in the right place in the fixed/absolute/float containing blocks so that it can't be screwed up by callers. Bug 264914, r+sr=roc
This commit is contained in:
@@ -308,7 +308,7 @@ nsHTMLButtonControlFrame::SetInitialChildList(nsPresContext* aPresContext,
|
||||
// NOTE: the whole reparenting should not need to happen: see bugzilla bug 51767
|
||||
ReParentFrameList(aPresContext->FrameManager(), aChildList);
|
||||
|
||||
return mFrames.FirstChild()->SetInitialChildList(aPresContext, nsnull, aChildList);
|
||||
return mFrames.FirstChild()->SetInitialChildList(aPresContext, aListName, aChildList);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
||||
Reference in New Issue
Block a user