Pass through style rules

git-svn-id: svn://10.0.0.236/trunk@3256 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kipp 1998-06-04 21:04:22 +00:00
parent f2f2d99718
commit 2658cd8f61

View File

@ -221,8 +221,7 @@ void nsHTMLTagContent::SetAttribute(nsIAtom* aAttribute,
nsIStyleRule* rule;
rv = css->ParseDeclarations(aValue, nsnull, rule);
if ((NS_OK == rv) && (nsnull != rule)) {
printf("XXX STYLE= discarded: ");
rule->List();
mAttributes->SetAttribute(aAttribute, nsHTMLValue(rule));
NS_RELEASE(rule);
}
NS_RELEASE(css);