Re: [DOMCore] fire and dispatch

On Tue, 01 Mar 2011 09:59:59 +0100, Jonas Sicking <jonas@sicking.cc> wrote:
> We're also using it in IndexedDB, though I don't think this has gotten
> into the spec drafts yet. But it is in the firefox implementation and
> I *think* in the chrome implementation.

The issue raised with it last time (by Boris Zbarsky) was the potential  
for the existence of getters. Maybe we can deal with that via JSON or some  
such? Though even then I think I would prefer

   var e = document.createEvent("MouseEvent")
   e.offsetX = 10

over using an object of some sorts.


-- 
Anne van Kesteren
http://annevankesteren.nl/

Received on Tuesday, 1 March 2011 13:06:43 UTC