Fix bug 318856 (<hr> attributes not getting the special treatment they

should).  Patch by Marco Perez <bugmail@millibyte.net>, r+sr=bzbarsky
This commit is contained in:
bzbarsky%mit.edu 2005-12-04 16:31:26 +00:00
Родитель 698f56cf13
Коммит c9928ebb31
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -126,7 +126,7 @@ nsHTMLHRElement::ParseAttribute(PRInt32 aNamespaceID,
const nsAString& aValue,
nsAttrValue& aResult)
{
if (aAttribute == kNameSpaceID_None) {
if (aNamespaceID == kNameSpaceID_None) {
if (aAttribute == nsHTMLAtoms::width) {
return aResult.ParseSpecialIntValue(aValue, PR_TRUE, PR_FALSE);
}