bug 180805 - Added GetAdjustedParentFrame to handle fieldsets. Moved inner/outer table logic there. Added fieldset logic to IsValidSibling. sr=bzbarsky, r=jkeiser.

git-svn-id: svn://10.0.0.236/trunk@134696 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
karnaze%netscape.com
2002-12-03 16:02:42 +00:00
parent dc6239e350
commit ca5804764b
12 changed files with 192 additions and 60 deletions

View File

@@ -48,6 +48,7 @@
#include "nsIHTMLContent.h"
#include "nsHTMLParts.h"
#include "nsHTMLAtoms.h"
#include "nsLayoutAtoms.h"
#include "nsIStyleContext.h"
#include "nsStyleConsts.h"
#include "nsFont.h"
@@ -80,6 +81,15 @@ nsLegendFrame::~nsLegendFrame()
{
}
NS_IMETHODIMP
nsLegendFrame::GetFrameType(nsIAtom** aType) const
{
NS_PRECONDITION(nsnull != aType, "null OUT parameter pointer");
*aType = nsLayoutAtoms::legendFrame;
NS_ADDREF(*aType);
return NS_OK;
}
NS_IMETHODIMP
nsLegendFrame::Destroy(nsIPresContext *aPresContext)
{