add form frames to debug reflow bug 115096 r=karnaze sr=attinasi

This commit is contained in:
bernd.mielke@snafu.de
2002-01-07 19:55:56 +00:00
parent 484593fa1c
commit 127612eaa5
35 changed files with 212 additions and 7 deletions

View File

@@ -59,6 +59,7 @@
#include "nsStyleUtil.h"
#include "nsFont.h"
#include "nsCOMPtr.h"
#include "nsLayoutAtoms.h"
static NS_DEFINE_IID(kLegendFrameCID, NS_LEGEND_FRAME_CID);
@@ -102,6 +103,7 @@ public:
nsIAtom* aListName,
nsIFrame* aOldFrame,
nsIFrame* aNewFrame);
NS_IMETHOD GetFrameType(nsIAtom** aResult) const;
#ifdef DEBUG
NS_IMETHOD GetFrameName(nsAString& aResult) const {
return MakeFrameName(NS_LITERAL_STRING("FieldSet"), aResult);
@@ -675,4 +677,13 @@ nsFieldSetFrame::ReplaceFrame(nsIPresContext* aPresContext,
aNewFrame);
}
NS_IMETHODIMP
nsFieldSetFrame::GetFrameType(nsIAtom** aType) const
{
NS_PRECONDITION(nsnull != aType, "null OUT parameter pointer");
*aType = nsLayoutAtoms::fieldSetFrame;
NS_ADDREF(*aType);
return NS_OK;
}