New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Value of button in a chorded pointerdown event #4
Comments
I believe this means what Does some one think it should be explicitly redefined? Are there case in other specs when some interface inherits from another in remote spec and then redefines unchanged-inherited properties at new interface? |
I know there was some debate over whether it was OK to a add new (negative) value to button, I'll try to dig up the references. As for what should happen, it looks like IE updates 'button' to indicate the most recent button change (eg. on chorded button press, there's a pointermove event with button representing the new button being pressed). The MouseEvent spec says: "Note: The value of button is not updated for events not caused by the depression/release of a mouse button." I don't have a strong opinion - I think speccing IE's existing behavior is probably fine. |
Note I think there is no such thing as a "chorded pointerdown". One button is always considered to have been pressed before another (with order being irrelevant since it's indistinguishable from arbitrarily-fast hardware). I think the only real question here is how 'button' behaves on the pointermove events that occur while multiple buttons are down. |
Referenced in https://www.w3.org/2012/pointerevents/track/actions/151 |
Section 5.1.1.2 and Section 5.1.1.3 (added through #34) fixes the main problem in this issue. We still don't explicitly mentioning that |
This Issue captures the following email from Stuart P. Bentley stuart@testtrack4.com on 16 Mar 2015
[[
https://lists.w3.org/Archives/Public/public-pointer-events/2015JanMar/0029.html
It's not clear in the 24 February 2015 draft - what is the value of
button
supposed to be when multiple buttons are pressed in apointerdown
(orpointerup
) event (as the current spec says only oneevent will be generated)?
(It's also not particularly clear in the draft that the
buttons
valuesare supposed to be a bitmask, which is only mentioned in the Mouse
Events spec.)
]]
The text was updated successfully, but these errors were encountered: