Give HTMLButtonControlFrames their own frame type. Bug 335419, r+sr=dbaron

This commit is contained in:
[email protected] committed 2006-04-25 19:56:45 +00:00
1 parent b990b77563
commit 7a214013bb
4 files changed
+12 -1

No files matched your search

@@ -71,6 +71,7 @@
#include "nsIAccessibilityService.h"
#endif
#include "nsDisplayList.h"
#include "nsLayoutAtoms.h"
nsIFrame*
NS_NewHTMLButtonControlFrame(nsIPresShell* aPresShell, nsStyleContext* aContext)
@@ -155,6 +156,12 @@ NS_IMETHODIMP nsHTMLButtonControlFrame::GetAccessible(nsIAccessible** aAccessibl
}
#endif
nsIAtom*
nsHTMLButtonControlFrame::GetType() const
{
return nsLayoutAtoms::HTMLButtonControlFrame;
}
PRBool
nsHTMLButtonControlFrame::IsReset(PRInt32 type)
{