Comment on Touch Events Proposed Recommendation

Hi All,

Here is a comment for the Touch Events Proposed Recommendation 
(submitted on a Member-only list):

[[
There is something that sounds inconsistent: the immutable properties of 
a Touch event as listed in 3 are not reflected in the method to create 
such objects in 6. In particular, "createTouch (WindowProxy view, 
EventTarget target, long identifier, long pageX, long pageY, long 
screenX, long screenY);" passes the "WindowProxy view" parameter which 
is not listed in the properties of Section 3, and does not assign values 
to clientX and clientY.

I suggest making the function pass all the immutable values, or if 
clientX/Y are derived from the WindowProxy object this should be 
indicated explicitly.
]]

The reason clientX and clientY were removed is because of the WebKit 
compatibility requirement. We logged this as Issue 17 
<http://www.w3.org/2010/webevents/track/issues/17> and agreed to not 
include clientX and clientY in the createTouch API 
<http://lists.w3.org/Archives/Public/public-webevents/2011AprJun/0117.html>

I Bcc'ed the comment submitter in case they want to discuss their 
comment with the group.

-ArtB

Received on Thursday, 16 May 2013 13:43:13 UTC