W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2008

Re: ISSUE-44 (EventsAndWindow): Should DOM3 Events cover the interaction of events and the Window object? [DOM3 Events]

From: Olli Pettay <Olli.Pettay@helsinki.fi>
Date: Tue, 29 Jul 2008 21:50:37 +0300
Message-ID: <488F667D.4000907@helsinki.fi>
To: Web Applications Working Group WG <public-webapps@w3.org>, whatwg List <whatwg@whatwg.org>

Chapter "5.4.4.3. Events and the Window object" [1] says that event is
also dispatched to window before (and after) dispatching to DOM
nodes. I'd rather say window object is part of the event target chain
(unfortunately load event is a special case), so events automatically 
propagate from document to window. No need to re-dispatch anything.
(This is how gecko works ;) )

Or perhaps that is what the text is trying to say, but it should 
probably talk about event propagation, not about dispatching to window.

-Olli

[1] http://www.whatwg.org/specs/web-apps/current-work/#events0

Web Applications Working Group Issue Tracker wrote:
> ISSUE-44 (EventsAndWindow): Should DOM3 Events cover the interaction of events and the Window object? [DOM3 Events]
> 
> http://www.w3.org/2008/webapps/track/issues/44
> 
> Raised by: Ian Hickson
> On product: DOM3 Events
> 
> We need to decide whether HTML5 or DOM3 Events (or another spec) defines how events interact with the Window object that browsers have.
> 
> Right now HTML5 says this:
> http://www.whatwg.org/specs/web-apps/current-work/#events0
> ....and DOM3 Events says this:
> http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html#events-Events-flow
> 
> 
> 
> 
> 
Received on Tuesday, 29 July 2008 18:53:12 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:27 GMT