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

Ian Hickson ian at hixie.ch
Thu Feb 14 10:26:56 PST 2008


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.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list