Re: [DOMCore] Making event initializing easier

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 UTC