Disabling Quirks sizing for form controls, it can be put back in via a pref

and uncommenting a line in quirk.css
Bug 91602 r=dcone sr=attinasi
This commit is contained in:
rods@netscape.com
2001-08-21 14:01:55 +00:00
parent b0da5b60f9
commit 3cb0e839e9
15 changed files with 124 additions and 43 deletions

View File

@@ -322,7 +322,7 @@ PRBool
nsHTMLButtonControlFrame::IsSubmit(nsIPresContext* aPresContext, PRInt32 type)
{
nsCompatibility mode;
aPresContext->GetCompatibilityMode(&mode);
nsFormControlHelper::GetFormCompatibilityMode(aPresContext, mode);
if (eCompatibility_Standard == mode && mContent != nsnull) {
// The default type for a html4 button is NS_FORM_BUTTON_BUTTON,
// but that does not mean that the type was actually set to "button"