W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2011

[whatwg] DOMContentLoaded, load and current document readiness

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 31 May 2011 21:12:05 -0400
Message-ID: <4DE591E5.9080802@mit.edu>
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.

-Boris
Received on Tuesday, 31 May 2011 18:12:05 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:06 UTC