From 4cf4f38304bbe6f8b9f9393fe8af877ff4cbfbc0 Mon Sep 17 00:00:00 2001 From: "sicking%bigfoot.com" Date: Fri, 16 Jan 2004 22:44:33 +0000 Subject: [PATCH] Bug 195350: Fix regression from earlier patch in same bug: make html-attributes be case-insensitive again. r=caillon sr=peterv git-svn-id: svn://10.0.0.236/trunk@151437 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/content/html/content/src/nsGenericHTMLElement.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mozilla/content/html/content/src/nsGenericHTMLElement.cpp b/mozilla/content/html/content/src/nsGenericHTMLElement.cpp index 71bb5cf4b2b..ca0a04334cf 100644 --- a/mozilla/content/html/content/src/nsGenericHTMLElement.cpp +++ b/mozilla/content/html/content/src/nsGenericHTMLElement.cpp @@ -4439,6 +4439,9 @@ nsGenericHTMLElement::InternalGetExistingAttrNameFromQName(const nsAString& aStr } NS_ConvertUTF16toUTF8 utf8name(aStr); + if (mNodeInfo->NamespaceEquals(kNameSpaceID_None)) { + ToLowerCase(utf8name); + } PRInt32 i, count = 0; mAttributes->GetAttributeCount(count);