Pass through style rules
git-svn-id: svn://10.0.0.236/trunk@3256 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
f2f2d99718
commit
2658cd8f61
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user