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
This commit is contained in:
sicking%bigfoot.com
2004-01-16 22:44:33 +00:00
parent cd363df407
commit 4cf4f38304

View File

@@ -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);