i tried getComputedStyle in C++ for each node of the DOM. i'm surprised, i never get the background images (wich are declared in a css style rule for "DIV" tags) nor the background color.
Odd. Computed style works over here.. Are you passing in nodes that are actually in the document?
Here is my sample code:
That code looks like it should work, at first glance... (though you could just get the property value as a string without doing the CSSValue stuff yourself).
Am i missing something ? is there any inheritance somewhere ?
Backgrounds are not inherited. So you have to be checking computed style on the node that has the background set...
-Boris _______________________________________________ mozilla-embedding mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-embedding
