W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2011

Re: [DOMCore] Making event initializing easier

From: Olli Pettay <Olli.Pettay@helsinki.fi>
Date: Mon, 27 Jun 2011 19:00:28 +0300
Message-ID: <4E08A91C.8030303@helsinki.fi>
To: Anne van Kesteren <annevk@opera.com>
CC: Jonas Sicking <jonas@sicking.cc>, "www-dom@w3.org" <www-dom@w3.org>
On 06/27/2011 06:58 PM, Anne van Kesteren wrote:
> On Mon, 27 Jun 2011 16:52:54 +0200, Olli Pettay
> <Olli.Pettay@helsinki.fi> wrote:
>> Handling of UI events with this new syntax needs to be defined
>> somewhere first. Especially event.pageX/Y. The value of those depend
>> on the document/window.
> I do not really see why that makes them special or more difficult than
> the others?
When "Event" is created, it doesn't need to know about the
context in which it is created.
When "UIEvent" or "MouseEvent" is created, it does need to know
the context, since it needs to set pageX/Y automatically.

Received on Monday, 27 June 2011 16:01:28 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:17 UTC