Hi ! i'm still working on nodes and frames. i'm looking for the magic solution to retrieve the background and foreground colors for each texts in the web page. I 've found nsiLookAndFeel class but it doesn't work, and nsiComputedDomStyle class but i don't know how to use it (no example found, no documentation) Please, could you help me ?
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.
Rob _______________________________________________ mozilla-layout mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-layout
