Robert O'Callahan wrote:
You want to use the computedstyle stuff. Starting with an nsIDOMNode (or maybe nsIDOMElement) you should be able to do something like .GetComputedStyle().GetColor() and .GetComputedStyle().GetBackgroundColor(). It will give you a string that you'll have to parse.

Or you can use GetPropertyCSSValue() on the computed style object to get the value in an object (pre-parsed, effectively).


-Boris
_______________________________________________
mozilla-layout mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-layout

Reply via email to