24 Jan 2010 22:24
Re: DOMContentLoaded event and iframes
Boris Zbarsky <bzbarsky <at> mit.edu>
2010-01-24 21:24:00 GMT
2010-01-24 21:24:00 GMT
On 1/24/10 3:52 PM, WakA wrote: > Naturally, I'm not expecting or even hoping for a change in the codebase > or behavior in order to achieve this. If I wanted to fry an egg using my > browser i'm sure this would be "possible" in some way. ;) I was mostly > looking to DOMContentLoaded as a way to supplant a load event (that only > fires after all the potentially big content has been loaded). My > expectation for the behavior of DOMContentLoaded was thus of a load > event minus all the nonDOM content, but this turned out not to be since > the "whole" page is not fully loaded and waiting for iframes to load > whilst the DOMContentLoaded event is already fired. Well... An <iframe> is in fact "non-DOM content". The precise definition of DOMContentLoaded is "when parsing of the page is done". > Ideally I guess I'm looking for something like a (theoretical) > DOMAllContentLoaded event Defined how? -Boris
RSS Feed