Re: Feedback on TouchEvent and DocumentTouch

On Tue, 13 Sep 2011 17:05:23 +0200, Matt Brubeck <mbrubeck@mozilla.com>  
wrote:
> On 09/13/2011 07:46 AM, Anne van Kesteren wrote:
>> Please do not standardize new initXXXEvent() methods.
>
> Safari has been shipping with these methods (unprefixed) for several  
> years now, and so have other WebKit browsers.  Opera and Gecko for  
> Android recently followed suit.  I think that IE for Windows Phone may  
> also support these methods already.

Note that there is a big difference between Document.create* and  
TouchEvent.init*. This first comment was about the latter.


> Adding constructors anyway might be a good idea, since it could help us  
> step around incompatibilities with the existing implementations of  
> initTouchEvent and create*, for example
> http://www.w3.org/2010/webevents/track/issues/19 and
> http://www.w3.org/2010/webevents/track/issues/20

Apparently TouchEvent.init* is not baked yet. It seems better to not add  
it at all.


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

Received on Tuesday, 13 September 2011 15:11:15 UTC