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

>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)

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/touch-events/issues/58#issuecomment-169035919

Received on Tuesday, 5 January 2016 15:34:08 UTC