Re: [DOMCore] fire and dispatch

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 UTC