W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2009

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Sat, 01 Aug 2009 01:56:20 -0400
Message-ID: <4A73D904.6000208@mit.edu>
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?

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

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:14 UTC