W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2011

Re: [DOMCore] fire and dispatch

From: Anne van Kesteren <annevk@opera.com>
Date: Tue, 01 Mar 2011 09:23:26 +0100
To: "Garrett Smith" <dhtmlkitchen@gmail.com>
Cc: "WebApps WG" <public-webapps@w3.org>
Message-ID: <op.vrnn9cyi64w2qv@anne-van-kesterens-macbook-pro.local>
On Tue, 01 Mar 2011 09:00:27 +0100, Garrett Smith <dhtmlkitchen@gmail.com>  
wrote:
> Mouse.click(document.body, {clientX : 10});

Yeah, that would be simpler. However, we do not really have this pattern  
anywhere in browser APIs and I believe last time we played with objects  
(for namespace support querySelector or some such) it was deemed  
problematic.

An alternative would be I guess what Simon Pieters proposed some time ago.  
That we make event IDL attributes mutable before the event is dispatched.  
And that they would get readonly semantics on setting during dispatch  
(i.e. based on the dispatch flag).


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Tuesday, 1 March 2011 08:24:02 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:43 GMT