Re: ISSUE-36: DOMContentLoaded?

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 UTC