Michael R wrote:
>> If you load something and _then_ do what you're doing now with the iframe, 
>> does it work?
>
> Yes it works.
> This means that calling nsIPresShell::InitialReflow() is the correct 
> solution in my case ?

It means you're somehow doing your code before InitialReflow() has happened... 
when is your code running, exactly, in relation to the setup of the outer 
document?

If all else fails you can probably trigger InitialReflow by 
FlushPendingNotifications(Flush_Layout) on the outer document, but that should 
really be a last-resort sort of thing.

-Boris

_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to