Re: [touch-events] Add a constructor for TouchEvent and Touch

> Like for createTouch I didn't allow clientX and clientY to be 
explicitly initialized. Instead they're initialized implicitly by 
pageX and pageY. This is similar to the MouseEvent constructor, except
 there it's the client co-ordinates that are explicit with the page 
ones computed from them. Perhaps it's better to follow the MouseEvent 
pattern?

Following the MouseEvent pattern would have the advantage of making it
 easier to port code from MouseEvent to TouchEvent (or vice-versa).  
Other than that, I have no strong feelings about this.

-- 
GitHub Notif of comment by mbrubeck
See https://github.com/w3c/touch-events/pull/16#issuecomment-127671531

Received on Tuesday, 4 August 2015 16:47:17 UTC