[whatwg] DOMContentLoaded, load and current document readiness

Boris Zbarsky bzbarsky at MIT.EDU
Tue May 31 18:12:05 PDT 2011

On 5/31/11 6:37 PM, Aryeh Gregor wrote:
> How about:

[ugly code snipped]

That does work, yes (assuming your readyState check is correct; if not 
it can be fixed to be correct).

As you note, expecting web authors to do this is silly.  Forget figuring 
out or not; we just don't want to inflict this on people, even those who 
_can_ figure it out.


More information about the whatwg mailing list