fix color handling

This commit is contained in:
peterl@netscape.com
1999-07-18 00:20:27 +00:00
parent d319524884
commit 0920274cfc
21 changed files with 61 additions and 57 deletions
@@ -524,7 +524,7 @@ nsHTMLTableRowElement::StringToAttribute(nsIAtom* aAttribute,
return NS_CONTENT_ATTR_HAS_VALUE;
}
else if (aAttribute == nsHTMLAtoms::bgcolor) {
nsGenericHTMLElement::ParseColor(aValue, aResult);
nsGenericHTMLElement::ParseColor(aValue, mInner.mDocument, aResult);
return NS_CONTENT_ATTR_HAS_VALUE;
}
else if (aAttribute == nsHTMLAtoms::valign) {