From c9928ebb31dc669e391bddb4c5be012a8195f3b1 Mon Sep 17 00:00:00 2001 From: "bzbarsky%mit.edu" Date: Sun, 4 Dec 2005 16:31:26 +0000 Subject: [PATCH] Fix bug 318856 (
attributes not getting the special treatment they should). Patch by Marco Perez , r+sr=bzbarsky --- content/html/content/src/nsHTMLHRElement.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/html/content/src/nsHTMLHRElement.cpp b/content/html/content/src/nsHTMLHRElement.cpp index 2cb5d1afc38..7457c0d7afe 100644 --- a/content/html/content/src/nsHTMLHRElement.cpp +++ b/content/html/content/src/nsHTMLHRElement.cpp @@ -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); }