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:
bzbarsky@mit.edu
2004-10-30 21:43:49 +00:00
parent cc71d8d7d6
commit 37964a1cde
6 changed files with 440 additions and 672 deletions

View File

@@ -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