Bug 195350: Fix regression from earlier patch in same bug: make html-attributes be case-insensitive again.

r=caillon sr=peterv
This commit is contained in:
sicking%bigfoot.com 2004-01-16 22:44:33 +00:00
Родитель afeb66c1e6
Коммит 8b2a7340b2
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

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