W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2009

Hixie on load event in HTML5

From: Charles McCathieNevile <chaals@opera.com>
Date: Mon, 27 Apr 2009 01:45:41 +0200
To: "DOM public list" <www-dom@w3.org>
Message-ID: <op.us0pmfhvwxe0ny@widsith.local>

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

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:14 UTC