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

Ian Hickson ian at hixie.ch
Thu Aug 6 17:03:05 PDT 2009


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.   `._.-(,_..'--(,_..'`-.;.'


More information about the whatwg mailing list