Re: DOMContentLoaded event and iframes
Boris Zbarsky <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.dom |
|---|---|
| Message-ID | <[email protected]> |
On 1/24/10 2:05 PM, WakA wrote: > I've noticed that the DOMContentLoaded event also fires for iframes > embedded inside a document. Is it possible to ignore or incorporate the > DOM of these iframes so the event fires only if the "top" document's DOM > is loaded or only if all DOM content including that of the iframes is > loaded? Possible in what sense? The web depends on current DOMContentLoaded behavior, so it's not exactly subject to change in a shipping browser that needs to browse the web, but if you're doing something custom you can change it, of course.... -Boris