W3C home > Mailing lists > Public > public-webapi@w3.org > March 2006

Re: ISSUE-36: DOMContentLoaded?

From: Maciej Stachowiak <mjs@apple.com>
Date: Mon, 13 Mar 2006 02:37:45 -0800
Message-Id: <D88C15EF-1F7A-4E1B-806D-19FCCDC772C9@apple.com>
Cc: Jim Ley <jim@jibbering.com>, "Web APIs WG (public)" <public-webapi@w3.org>
To: Mihai Sucan <mihai.sucan@gmail.com>


On Mar 13, 2006, at 2:30 AM, Mihai Sucan wrote:

>
> Le Mon, 13 Mar 2006 12:20:09 +0200, Maciej Stachowiak  
> <mjs@apple.com> a écrit:
>
> <...>
>>
>> I don't have strong feelings either way. Does anyone want to  
>> advocate for putting DOMContentLoaded in the spec?
>>
>
> I'd opt for advocating to put DOMContentLoaded in the spec, but not  
> in it's proposed form (as was discussed in this thread). The  
> problem of firing the event after or before scripts loaded is still  
> open (IMHO) and not solved.
>
> Therefore, probably this event should be left outside the spec  
> currently.

There are other problems besides the script ordering, as discussed in  
this thread. In particular, incremental rendering defeats the  
intended use of this event to attach behaviors after the DOM is built  
but before content is displayed to the user. No matter how the script  
issue is resolved, this will remain the case.

Regards,
Maciej
Received on Monday, 13 March 2006 10:37:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:53 GMT