W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2009

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

From: Ian Hickson <ian@hixie.ch>
Date: Sat, 8 Aug 2009 07:55:34 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0908080754330.6420@hixie.dreamhostps.com>
On Tue, 29 Jul 2008, Olli Pettay wrote:
>
> 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.

I've tried to clarify this.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Saturday, 8 August 2009 00:55:34 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:15 UTC