W3C home > Mailing lists > Public > public-webevents@w3.org > July to September 2011

Re: Feedback on TouchEvent and DocumentTouch

From: Anne van Kesteren <annevk@opera.com>
Date: Tue, 13 Sep 2011 17:10:40 +0200
To: "Matt Brubeck" <mbrubeck@mozilla.com>
Cc: public-webevents@w3.org
Message-ID: <op.v1q5r2xo64w2qv@annevk-macbookpro.local>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:03:53 UTC