Boris Zbarsky wrote: > PM wrote: >>> It'll give you incorrect cascading, but as long as you're fine with >>> that... >>> >> Well, what is correct approach for gecko 1.8.x > > You'd probably want to get the style sets for all the document's > presshells and add the sheet to all of those in the right cascade layer > (UA or user, as desired). > > -Boris
It seems that my first approach wasn’t correct. Does it exist other way how to load and register style sheet under Gecko 1.8.x? I create stylesheet after my component is loaded and I need to apply it. I don’t need to change it later. It must exist any way how to achieve this because it works when I create extension which has defined stylesheet in css file. Unfortunately I can’t use this way because my extension need to get images dynamically from other dlls. Which file contains code responsible for loading and applying style when extension is loaded? Or any idea is welcome. Thank you. Palo _______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

