зеркало из https://github.com/mozilla/gecko-dev.git
Pass through style rules
This commit is contained in:
Родитель
14d2243da5
Коммит
4915c6ac35
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче