Re: Is the timing of DOMContentLoaded undefined with respect to external scripts?
<[email protected]> Thu, 22 Sep 2011 01:42:19 -0400
| Newsgroups | gmane.comp.mozilla.devel.dom |
|---|---|
| Message-ID | <[email protected]> |
"Boris Zbarsky" <[email protected]> wrote in message news:[email protected]... > On 9/22/11 12:25 AM, [email protected] wrote: >> Is it the case then that any synchronous, non deferred insertion (whether >> dom or tag based) would run before DOMContentLoaded? > > No. Only parser-inserted scripts block the parser. > Just to be sure I got it: only synchronous, non-deferred <script> tags block the parser and so run before DOMContentLoaded. everything else does not block and will run after DOMContentLoaded