Currently, the pageX/pageY properties of the TouchEvent object are set to the co-ordinates of a touch point identifying itself as a touch press, only if it is at the head of the platform list of touch points. They are not updated again until a new touch start is the first touch in the PlatformTouchEvent's set of touch points. This makes the TouchEvent.pageX/Y values fairly meaningless. To match observed behavior on the iPhone, they should be set to 0,0. The co-ordinates within the set of touches attached to the TouchEvent (e.g. TouchEvent.touches[0].pageX/Y) are being updated correctly. Patch and layout test update to follow.
Created attachment 49214 [details] Proposed patch and updated tests.
Comment on attachment 49214 [details] Proposed patch and updated tests. OK. Is there a spec which covers any of this?
(In reply to comment #2) > (From update of attachment 49214 [details]) > OK. Is there a spec which covers any of this? There's nothing official that I'm aware of. I've been using the Apple developer documentation at http://developer.apple.com/safari/library/documentation/AppleApplications/Reference/SafariJSRef/TouchEvent/TouchEvent.html and observations of how touch events work on the iPhone.
Comment on attachment 49214 [details] Proposed patch and updated tests. Clearing flags on attachment: 49214 Committed r55146: <http://trac.webkit.org/changeset/55146>
All reviewed patches have been landed. Closing bug.