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 21:45:02 +0300
Message-ID: <4E08CFAE.3010809@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 07:10 PM, Anne van Kesteren wrote:
> On Mon, 27 Jun 2011 18:00:28 +0200, Olli Pettay
> <Olli.Pettay@helsinki.fi> wrote:
>> 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.
>
> How is that different from e.g. XMLHttpRequest? I do not see why that
> should not work.
I don't understand what XHR has to do with this.



> DOM Level 3 Events does not define those members by the
> way...
I know. But CSSOM does, and once MouseEvents can be initialized
using dictionary, CSSOM should specify how pageX/Y get their values.
Though, I guess it doesn't specify it now either.

-Olli
Received on Monday, 27 June 2011 18:45:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:07 GMT