Michael R wrote: > Could there be a scenario when loading a page with "display: none" will > make some JS portions not to work properly ?
Depending on what they're doing, yes. > If it could happen then how can I make it work ? Reload all the scripts > after the page is rendered ? That seems ineffective. You could load the page, then set the display to "none", then make sure that change is processed, then unset the display. > As far as I understand the 'onload' is fired top to bottom, meaning that > when the subframes will be rendered the display will be already set back. onload is fired bottom to top, as you should be able to trivially verify. -Boris _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
