W3C home > Mailing lists > Public > public-webevents@w3.org > April to June 2012

Re: initTouchEvent() in WebKit doesn't match Touch Events version 2 W3C Editor's Draft 14 November 2011

From: Matt Brubeck <mbrubeck@mozilla.com>
Date: Fri, 01 Jun 2012 08:45:43 -0700
Message-ID: <4FC8E3A7.90001@mozilla.com>
To: <tianlili3283@gmail.com>
CC: public-webevents@w3.org
On 05/31/2012 08:33 AM,  wrote:
> Would you pls help me to have a look at the following problem, when
> implementing the function initTouchEvent()(see the following codes)
> with references to "Touch Events version 2 W3C Editor's Draft 14
> November 2011"
> (http://dvcs.w3.org/hg/webevents/raw-file/default/touchevents.html)

Touch Events v2 is an editors' draft, and there are no conforming
implementations. WebKit's touch events were created before the proposed
W3C standards, and differ from the standards in several ways including
the parameters to initTouchEvents. If you want to call initTouchEvent in
current WebKit browsers, you should consult their documentation instead:
http://developer.apple.com/library/safari/#documentation/UserExperience/Reference/TouchEventClassReference/TouchEvent/TouchEvent.html

In the long term, if we continue developing the touch events v2
standard, we plan to replace initTouchEvent with a constructor function:
http://www.w3.org/2010/webevents/track/issues/23

See also http://www.w3.org/2010/webevents/track/issues/19
Received on Friday, 1 June 2012 15:45:03 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:09:34 UTC