Hixie on load event in HTML5

FYI

cheers, chaals

------- Forwarded message -------
From: "Ian Hickson" <ian@hixie.ch>
To: "Olli Pettay" <Olli.Pettay@helsinki.fi>
Cc: "WebApps WG" <public-webapps@w3.org>
Subject: Re: DOM3 Events call today/tonight?
Date: Sun, 26 Apr 2009 21:44:10 +0200

On Wed, 25 Feb 2009, Olli Pettay wrote:
>
> 'load' is a special event in many ways. 'load' events dispatched  
> somewhere in
> document (for example for <img>) don't propagate to 'window'.

(for capture -- they don't bubble)

> And the 'load' event which is dispatched to 'window', has 'document' as
> its target. This all is required for backwards compatibility.

The HTML5 spec now requires all of the above.


> This is related to http://www.w3.org/2008/webapps/track/issues/44

As far as I can tell, all the requirements are now in HTML5, so DOM Events
can avoid talking about Window if it wants to avoid dependencies on HTML5.



-- 
Charles McCathieNevile  Opera Software, Standards Group
     je parle français -- hablo español -- jeg lærer norsk
http://my.opera.com/chaals       Try Opera: http://www.opera.com

Received on Sunday, 26 April 2009 23:46:31 UTC