Re: [touch-events] createTouch has all the params as required, should probably have them optional

>From my tests https://output.jsbin.com/xeviri 
1. Safari requires at least 7 arguments for `createTouch` while 
Firefox and Chrome don't
2. Safari and Chrome has the magical conversion for `clientX/clientY` 
and `pageX/pageY` while Firefox doesn't (will just init 
`clientX/clientY` to `0`)

Since the behavior is so different I guess it's not worth trying to 
fix it?


PS: It also means Firefox won't pass the 
[create-touch-touchlist](https://github.com/w3c/web-platform-tests/blob/master/touch-events/create-touch-touchlist.html#L124)
 test for `clientX/clientY` (observed during my previous experiments)

-- 
GitHub Notification of comment by choniong
Please view or discuss this issue at 
https://github.com/w3c/touch-events/issues/58#issuecomment-169035919 
using your GitHub account

Received on Tuesday, 5 January 2016 15:33:12 UTC