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

Re: ISSUE-36: DOMContentLoaded?

From: Jonas Sicking <jonas@sicking.cc>
Date: Sun, 05 Mar 2006 03:46:08 -0800
Message-ID: <440ACF80.5080000@sicking.cc>
To: Web APIs WG <public-webapi@w3.org>

>   Specifically, this event can be dispatched
>   before all external resources are loaded and
>   applied and MUST be dispatched before the
>   load event. Language specific requirements
>   can make the UA to load certain dependencies
>   first. In HTML all scripts have to be loaded
>   for example.

I don't think we should say that all scropts have to be loaded since a 
proper implementation of the defer attribute could build the DOM before 
loading all scripts.

If you want to depend on functions in those script tags being available 
you can either avoid using the defer attribute or you can use the 'load' 

/ Jonas
Received on Sunday, 5 March 2006 11:46:14 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:20 UTC