Make fieldsets always be containing blocks. Bug 296722, r+sr=dbaron,
a=asa
This commit is contained in:
@@ -103,6 +103,7 @@ public:
|
||||
nsIFrame** aFrame);
|
||||
|
||||
virtual nsIAtom* GetType() const;
|
||||
virtual PRBool IsContainingBlock() const;
|
||||
|
||||
#ifdef ACCESSIBILITY
|
||||
NS_IMETHOD GetAccessible(nsIAccessible** aAccessible);
|
||||
@@ -159,6 +160,12 @@ nsFieldSetFrame::GetType() const
|
||||
return nsLayoutAtoms::fieldSetFrame;
|
||||
}
|
||||
|
||||
PRBool
|
||||
nsFieldSetFrame::IsContainingBlock() const
|
||||
{
|
||||
return PR_TRUE;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsFieldSetFrame::SetInitialChildList(nsPresContext* aPresContext,
|
||||
nsIAtom* aListName,
|
||||
|
||||
Reference in New Issue
Block a user