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


git-svn-id: svn://10.0.0.236/trunk@101502 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rods%netscape.com
2001-08-21 14:01:55 +00:00
parent 845c66cf30
commit 48fbd4f113
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"