On Apr 10, 3:32 pm, "Salvatore Fassi" <[EMAIL PROTECTED]> wrote: > I've enabled the "spatial navigation" in firefox 1.5.0.9 and now I > need to implement a c++ method from a xpcom component that must set at > runtime the underline color.
not sure what you mean by the underline color (and I actually use spatial navigation). If your platform has nsLookAndFeel, and your :focus and friend rules use a css color, and can probably try to cooperate with nsLookAndFeel to influence what color a named color is. > I know that the color can be set using the -moz-outline option in the > custom userContent.css...but I need to know how to access this > property from c++...is it possible? You could of course <add another useragent style sheet (api call here)> <with the same selector that specifies a different color (this is just a file, probably data:text/css,...)>. Use a cross reference to find out how if you're so inclined (I'd recommend influencing named colors instead). _______________________________________________ dev-tech-xpcom mailing list [EMAIL PROTECTED] https://lists.mozilla.org/listinfo/dev-tech-xpcom
