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: Ian Hickson <ian@hixie.ch>
Date: Thu, 7 Aug 2008 19:47:15 +0000 (UTC)
To: olli@pettay.fi
Cc: Web Applications Working Group WG <public-webapps@w3.org>
Message-ID: <Pine.LNX.4.62.0808071947010.5136@hixie.dreamhostps.com>

On Thu, 7 Aug 2008, Olli Pettay wrote:
> Could we actually just say that if document implements DocumentView 
> interface and .defaultView isn't null and implements EventTarget, the 
> event propagates to .defaultView. So in that case defaultView becomes 
> the root of the event target chain (if the target of the event is bound 
> to document). No need to mention Window, since AbstractView is already 
> defined in DOM2 Views[1]. HTML5 defines that AbstractView must also 
> implement Window and EventTarget interfaces. [2]

Fine by me, so long as the result is compatible with most UAs.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 7 August 2008 19:47:53 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:11 UTC