Re: ISSUE-36: DOMContentLoaded?

>>   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.

The more I think about it the more I think it might be a good idea to 
require all scripts to be loaded. Without that we might be severly 
reducing the usefulness of the event by forcing too many users to wait 
for "load" to fire in order to reliably use functions and global 
variables provided in scripts.

There might also be issues with current implementations would load all 
scripts before firing the event, so users might become dependent on it 
anyway.

/ Jonas

Received on Monday, 6 March 2006 09:38:53 UTC