W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2008

[whatwg] will all event types bubble? e.g. focus

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 14 Feb 2008 18:26:56 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0802141826210.20115@hixie.dreamhostps.com>
On Wed, 13 Feb 2008, Peter Michaux wrote:
>
> Using delegate listeners in JavaScript is a technique that has grown
> quite popular. Not all event types bubble, however, so using pure
> delegate solutions is impossible.

Does capture not address your need?


> Will the DOM2 non-bubbling event types, like focus, bubble in the new 
> DOM standard?

Most events do bubble. Some still do not, like 'load', but this is careful 
considered on a case-by-case basis.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 14 February 2008 10:26:56 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:39 UTC