Bug 237071: Make height-attribute on tr-elements work again.

r/sr=jst a=dbaron


git-svn-id: svn://10.0.0.236/trunk@153886 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sicking%bigfoot.com 2004-03-11 23:38:58 +00:00
parent d6e9d57858
commit 287fa86b0f

View File

@ -521,9 +521,7 @@ nsHTMLTableRowElement::ParseAttribute(nsIAtom* aAttribute,
return aResult.ParseIntWithBounds(aValue, 0);
}
if (aAttribute == nsHTMLAtoms::height) {
if (aResult.ParseSpecialIntValue(aValue, PR_TRUE, PR_FALSE)) {
return NS_CONTENT_ATTR_HAS_VALUE;
}
return aResult.ParseSpecialIntValue(aValue, PR_TRUE, PR_FALSE);
}
if (aAttribute == nsHTMLAtoms::width) {
return aResult.ParseSpecialIntValue(aValue, PR_TRUE, PR_FALSE);