Re: Is the timing of DOMContentLoaded undefined with respect toexternal scripts?

Boris Zbarsky <[email protected]> Thu, 22 Sep 2011 09:37:42 -0400
Newsgroups gmane.comp.mozilla.devel.dom
Message-ID <[email protected]>
On 9/22/11 4:59 AM, [email protected] wrote:
> both the script itself and its load handler log after 'DOMContentLoaded'

Works correctly over here (script load fires before DOMContentLoaded).

> Should it be before?

Yes.

> Why?

Because the spec says so?

-Boris