- From: Rick Byers <notifications@github.com>
- Date: Tue, 11 Aug 2015 08:19:02 -0700
- To: w3c/touch-events <touch-events@noreply.github.com>
Received on Tuesday, 11 August 2015 15:19:39 UTC
In #10 I added a constructor for Touch. @foolip [says](https://codereview.chromium.org/1272603003/#msg8): > most event constructors just allow all the values > to be set to anything at all, even if that's something that couldn't be produced > by a real event. I was thinking we were following the pattern from MouseEvent here (and keeping with the pattern of document.createTouch). [UIEvents says](https://w3c.github.io/uievents/#interface-MouseEvent): > Note: When initializing MouseEvent objects using initMouseEvent, implementations can use the client coordinates clientX and clientY for calculation of other coordinates (such as target coordinates exposed by DOM Level 0 implementations or other proprietary attributes, e.g., pageX). But I guess that's a little different as the UIEvents spec doesn't specify the other attributes. Should we just let script supply `pageX` and `pageY` too? I don't see any problem with that. @mbrubeck any opinion? --- Reply to this email directly or view it on GitHub: https://github.com/w3c/touch-events/issues/28
Received on Tuesday, 11 August 2015 15:19:39 UTC