зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
698f56cf13
Коммит
c9928ebb31
|
@ -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);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче