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

Re: [DOMCore] Making event initializing easier

From: Anne van Kesteren <annevk@opera.com>
Date: Mon, 27 Jun 2011 18:10:33 +0200
To: "Olli Pettay" <Olli.Pettay@helsinki.fi>, Olli@pettay.fi
Cc: "Jonas Sicking" <jonas@sicking.cc>, "www-dom@w3.org" <www-dom@w3.org>
Message-ID: <op.vxqsjvg364w2qv@anne-van-kesterens-macbook-pro.local>
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. DOM Level 3 Events does not define those members by the  
way...


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Monday, 27 June 2011 16:11:19 GMT

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