Re: [DOM3Events] Pointer Events request to change DOM 3 Events "button" type

* 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. 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 · ·
Am Badedeich 7 · Telefon: +49(0)160/4415681 ·
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · 

Received on Monday, 21 January 2013 19:58:43 UTC