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


git-svn-id: svn://10.0.0.236/trunk@164677 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzbarsky%mit.edu
2004-10-30 21:43:49 +00:00
parent 5046eda955
commit 4ece7e1998
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