Hi gurus! I'm trying to catch background and foreground color of a frame in mozilla. when the color is defined in the HTML document via a TAG, I can get it via the contentNode but when it is defined via a CSS link, I can't. I believe the right way is to use the nsStyleContext and inheritance information but I don't know how to interpret an d use the mBits value. Perhaps can I use the nsRuleNode class ?
My primary requirement is to catch foreground and background colors of mozilla frames. Please help me to understand the way mozilla works (I'm hacking version 1.2.1)
