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

Re: [pointerevents] Value of button attribute for pointermove event

From: Rick Byers via GitHub <sysbot+gh@w3.org>
Date: Mon, 01 Feb 2016 02:57:40 +0000
To: public-pointer-events@w3.org
Message-ID: <issue_comment.created-177727578-1454295458-sysbot+gh@w3.org>
I agree the spec doesn't seem entirely clear here.  In my reading, 
`pointermove`'s `button` should be -1 when no buttons are pressed, and
 the previous value otherwise (as for `mousemove`).  So it seems like 
an Edge bug.  @teddink WDYT?

But yes, the -1 on `pointermove` vs. 0 on `mousemove` difference is 
intentional.

-- 
GitHub Notification of comment by RByers
Please view or discuss this issue at 
https://github.com/w3c/pointerevents/issues/33#issuecomment-177727578 
using your GitHub account
Received on Monday, 1 February 2016 02:57:43 UTC

This archive was generated by hypermail 2.3.1 : Monday, 1 February 2016 02:57:43 UTC