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

On Sat, 1 Aug 2009, Boris Zbarsky wrote:
>
> 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.

Good idea. Done.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Thursday, 6 August 2009 17:03:05 UTC