> On 9/21/11 11:07 PM, al_9x@... wrote:
>> I thought it's supposed to be before, but it's after on a simple test
> DOMContentLoading fires when the parser is done parsing the document.
> Some external scripts block the parser because the might issue
> document.write calls.
> Whether an external script blocks the parser or not depends on how it's
> inserted into the DOM.
I didn't notice at first that in the page I was looking at
(www.google.com/search) the script in question is inserted in a settimeout
callback, which certainly explains the difference, from my simple
"<script>" test page.
Is it the case then that any synchronous, non deferred insertion (whether
dom or tag based) would run before DOMContentLoaded?