Boris Zbarsky wrote:
PM wrote:
Problem is that the style isn’t applied immediately.
Which Gecko version? This should work with Gecko 1.9, but not with
Gecko 1.8.x. See <https://bugzilla.mozilla.org/show_bug.cgi?id=335689>.
Does it exist any article or example how to create style dynamically
by javascript or c++ and register it?
You can use a data: URI, no?
-Boris
Hi,
I need to support Thunderbird 3.0 which is using Gecko 1.9.1b1pre.
I used data: URI to load stylesheet, but style isn't applied.
Style sheet is loaded without no error (LoadAndRegisterSheet returns NS_OK).
When I call SheetRegistered after LoadAndRegisterSheet I get that style
sheet was loaded.
By the way, can I use data: URI with StyleSheetService?
Any suggestions what can i do wrong?
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout