W3C home > Mailing lists > Public > public-html@w3.org > May 2009

Events on window

From: Simon Pieters <simonp@opera.com>
Date: Tue, 05 May 2009 14:44:58 +0200
To: public-html <public-html@w3.org>
Message-ID: <op.utgi041fidj3kv@zcorpandell.linkoping.osa>
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?

-- 
Simon Pieters
Opera Software
Received on Tuesday, 5 May 2009 12:45:41 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:03 UTC