- From: Bjoern Hoehrmann <derhoermi@gmx.net>
- Date: Mon, 21 Jan 2013 20:58:17 +0100
- To: Travis Leithead <travis.leithead@microsoft.com>
- Cc: "www-dom@w3.org" <www-dom@w3.org>
* Travis Leithead wrote: >Nothing else in the DOM Level 3 Events spec would change (except perhaps >some clarifying statements that mouse events only ever return values of >0 or greater for the button attribute. http://www.w3.org/TR/2013/WD-pointerevents-20130115/ proposes "In order to facilitate differentiating button state transitions in any pointer event (and not just pointerdown and pointerup), the button property takes on a new value when no mouse buttons are depressed" specifically the value -1 would be for "Mouse move with no buttons pressed". So, for 'mousemove' with no button pressed you will get MouseEvent.button == 0, while for "pointer events" you get MouseEvent.button == -1? -- Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de 25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/
Received on Monday, 21 January 2013 19:58:43 UTC