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

@@ -56,6 +56,7 @@
#include "nsIFormControl.h"
#include "nsIDeviceContext.h"
#include "nsHTMLAtoms.h"
#include "nsLayoutAtoms.h"
#include "nsIButton.h" // remove this when GetCID is pure virtual
#include "nsICheckButton.h" //remove this
#include "nsITextWidget.h" //remove this
@@ -779,6 +780,14 @@ nsFormControlFrame::GetValue(nsAString* aResult)
return result;
}
NS_IMETHODIMP
nsFormControlFrame::GetFrameType(nsIAtom** aType) const
{
NS_PRECONDITION(nsnull != aType, "null OUT parameter pointer");
*aType = nsLayoutAtoms::formControlFrame;
NS_ADDREF(*aType);
return NS_OK;
}
NS_METHOD
nsFormControlFrame::HandleEvent(nsIPresContext* aPresContext,