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, a=roc


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@179571 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzbarsky%mit.edu
2005-09-02 20:25:54 +00:00
parent c30016ce74
commit 69792de2ae
17 changed files with 132 additions and 112 deletions

View File

@@ -572,6 +572,12 @@ nsFileControlFrame::AttributeChanged(nsIContent* aChild,
return nsAreaFrame::AttributeChanged(aChild, aNameSpaceID, aAttribute, aModType);
}
PRBool
nsFileControlFrame::IsLeaf() const
{
return PR_TRUE;
}
NS_IMETHODIMP
nsFileControlFrame::GetFrameForPoint(const nsPoint& aPoint,
nsFramePaintLayer aWhichLayer,