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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user