Make frames know whether they're leaves or not from the frame construction

point of view; use this in the frame constructor.  Bug 265367, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@177914 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzbarsky%mit.edu
2005-08-16 22:52:48 +00:00
parent 53ef08056c
commit 9104cb9303
17 changed files with 132 additions and 112 deletions

View File

@@ -1263,6 +1263,13 @@ nsHTMLFramesetFrame::Reflow(nsPresContext* aPresContext,
return NS_OK;
}
PRBool
nsHTMLFramesetFrame::IsLeaf() const
{
// We handle constructing our kids manually
return PR_TRUE;
}
PRBool
nsHTMLFramesetFrame::ChildIsFrameset(nsIFrame* aChild)
{