[whatwg] scripts, defer, document.write and DOMContentLoaded

Ian Hickson wrote:
> I've changed the spec to do external deferred src=""ed scripts at the end 
> of document load (blowing away the document as before), and inline 
> deferred scripts as soon as innerHTML is set, if it is set, or else along 
> with other deferred scripts at the end of document load.

Another possible, less magic, option here is to simply not support defer 
on inline scripts.  Are there significant use cases for it?

-Boris

Received on Friday, 31 July 2009 22:56:20 UTC