Re: Events on window

On Tue, 5 May 2009, Simon Pieters wrote:
>
> The spec says
> 
>    When an event is dispatched at a DOM node in a Document in a browsing
>    context, if the event is not a load event, the user agent must also
>    dispatch the event to the Window, as follows:
> 
>      1. In the capture phase, the event must be dispatched to the Window
>         object before being dispatched to any of the nodes.
> 
>      2. In the bubble phase, the event must be dispatched to the Window
>         object at the end of the phase, unless bubbling has been
>         prevented.
> 
> http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#events-and-the-window-object
> 
> 
> Should this be limited to events that bubble?

I don't see why it would be... why, should it?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Saturday, 6 June 2009 00:46:40 UTC