Boris Zbarsky <[EMAIL PROTECTED]> wrote: > Ben Hutchings wrote: >> My application does not set browser preferences, but it supplies an >> agent style-sheet that should cover the style rules normally set based >> on user preferences. In Mozilla 1.7 I disable style rules based on the >> default preferences by calling nsIPresShell::EnablePrefStyleRules with >> an argument of false. In Mozilla 1.8 this method no longer exists. >> What can I do to achieve the same effect? > > I'm not sure there is anything, past just not setting the preferences or > setting > them to the values you want... :(
OK, I'm trying that now. It works, mostly; thanks. However, I am unable to set the link hover colour, either in my UA stylesheet or via a preference (because I can't find a preference setting for it). Could you give me any hints as to where the style rule overriding my stylesheet might come from? Ben. -- Ben Hutchings -- [EMAIL PROTECTED] shortened to [EMAIL PROTECTED] If you've signed my GPG key, please send a signature on and to the new uid. Design a system any fool can use, and only a fool will want to use it. _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
