Well, I need to change the visibility of some HTML elements at runtime.
In the case where the element has an inline CSS style rule, I change the
"visibility" property value to "visible" or "hidden". In order to do that I
get a reference to the nsICSSStyleRule interface, and I get a reference to
the nsCSSDeclaration with a call to
virtual nsCSSDeclaration * GetDeclaration (void) const =0;
which is still available in 1.4
I see. That really wouldn't work in current builds anyway unless you duplicated a lot of the nsIDOMCSSDeclaration logic.... (dynamic updates would not work).
-Boris
_______________________________________________ mozilla-layout mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-layout
