Re: Load and register stylesheet dynamically (nsIStyleSheetService)

2008-12-10 Thread PM
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

Re: PresShell of PrintPreview

2008-12-10 Thread kk
On Dec 8, 6:50 pm, Boris Zbarsky [EMAIL PROTECTED] wrote: kk wrote: GetBoundingClientRect gives me offset of the link in the Browsers content pane. What I want is the offset of the link when the Page is paginated. Ah, good point.  It sounds like we should expose some sort of API for this