From 500aebd40afc0a211220ac001a719d9a40defcdc Mon Sep 17 00:00:00 2001 From: "bzbarsky%mit.edu" Date: Mon, 3 Dec 2001 23:02:12 +0000 Subject: [PATCH] Forms should return .method in all lowercase for compat with IE and NS4. Bug 113174, r=fabian, sr=jst --- content/html/content/src/nsHTMLFormElement.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/html/content/src/nsHTMLFormElement.cpp b/content/html/content/src/nsHTMLFormElement.cpp index d43311d69ae1..538cecf4c94d 100644 --- a/content/html/content/src/nsHTMLFormElement.cpp +++ b/content/html/content/src/nsHTMLFormElement.cpp @@ -450,13 +450,13 @@ nsHTMLFormElement::AttributeToString(nsIAtom* aAttribute, { if (aAttribute == nsHTMLAtoms::method) { if (eHTMLUnit_Enumerated == aValue.GetUnit()) { - EnumValueToString(aValue, kFormMethodTable, aResult); + EnumValueToString(aValue, kFormMethodTable, aResult, PR_FALSE); return NS_CONTENT_ATTR_HAS_VALUE; } } else if (aAttribute == nsHTMLAtoms::enctype) { if (eHTMLUnit_Enumerated == aValue.GetUnit()) { - EnumValueToString(aValue, kFormEnctypeTable, aResult); + EnumValueToString(aValue, kFormEnctypeTable, aResult, PR_FALSE); return NS_CONTENT_ATTR_HAS_VALUE; } }