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

Re: ISSUE-36: DOMContentLoaded?

From: Jonas Sicking <jonas@sicking.cc>
Date: Tue, 07 Mar 2006 01:18:01 -0800
Message-ID: <440D4FC9.4050605@sicking.cc>
To: Anne van Kesteren <annevk@opera.com>
Cc: "Web APIs WG (public)" <public-webapi@w3.org>

Anne van Kesteren wrote:

> 
> On Tue, 07 Mar 2006 10:03:45 +0100, Jonas Sicking <jonas@sicking.cc> wrote:
> 
>>>> It's also not true for <script> nodes added to the DOM via DOM   
>>>> manipulation while the page is loaded.
>>>
>>>  So dropping it would work or perhaps something like:
>>>    Language specific requirements can make the
>>>   UA to load certain dependencies first. In
>>>   HTML all <script> elements in the source
>>>   tree without the "defer" attribute set have
>>>   to be loaded for example.
>>>  ... now source tree might need some definition.
>>
>>
>> As stated in an earlier email, I think it is not immideatly clear to 
>> me  that firing DOMContentLoaded before all scripts have loaded is a 
>> good  idea.
> 
> Would be nice if Mozilla developers discussed this among themselves :-)  
> Also, this is an HTML/SVG/language specific issue, we could just drop 
> this  note from the specification as it apparently only adds confusion.

We'd just be discussing it on another mailing list, so might as well 
keep all the discussion together :).

If we do want scripts to be loaded I think we need to specify it here, 
otherwise it's not going to get specified anywhere. And saying that 
scripts should be loaded isn't really HTML specific since scripts appear 
in many languages.

/ Jonas
Received on Tuesday, 7 March 2006 09:18:06 GMT

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