From 4915c6ac3573555348fcb069ea4982f2edc89d55 Mon Sep 17 00:00:00 2001 From: kipp Date: Thu, 4 Jun 1998 21:04:22 +0000 Subject: [PATCH] Pass through style rules --- layout/html/base/src/nsHTMLTagContent.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/layout/html/base/src/nsHTMLTagContent.cpp b/layout/html/base/src/nsHTMLTagContent.cpp index 8809077c97eb..53daf3dd7c96 100644 --- a/layout/html/base/src/nsHTMLTagContent.cpp +++ b/layout/html/base/src/nsHTMLTagContent.cpp @@ -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);