W3C home > Mailing lists > Public > public-pointer-events@w3.org > January to March 2016

[pointerevents] Pull Request: Clarify the button value for mouse drag

From: Mustaq Ahmed via GitHub <sysbot+gh@w3.org>
Date: Tue, 02 Feb 2016 21:47:00 +0000
To: public-pointer-events@w3.org
Message-ID: <pull_request.opened-58055345-1454449619-sysbot+gh@w3.org>
mustaqahmed has just submitted a new pull request for 
https://github.com/w3c/pointerevents:

== Clarify the button value for mouse drag ==
The current spec wording suggests that the |button| value indicates 
"the last button changed" (like MouseEvent). On the other hand, the 
current Edge behavior suggests that |button| is "the button change 
that triggered the current event". The latter makes more sense since 
it makes it easier to differentiate between
- a pointermove fired through a button activity (chorded button 
press/release), and
- a pointermove fired through a non-button change (position, tilt, 
pressure, etc).

This patch proposes a spec wording change based on the Edge behavior.

Issue #33 

See https://github.com/w3c/pointerevents/pull/34
Received on Tuesday, 2 February 2016 21:47:02 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 2 February 2016 21:47:03 UTC