Define pointermove
and pointerrawupdate
may have delta from previous corresponding pointer event as movementX
and movementY
#535
Labels
MouseEvent.movementX
andMouseEvent.movementY
are extensions of Pointer Lock 2.0 and the spec of Pointer Events does not refer these attributes. As of current definition, those values ofpointermove
andpointerrawupdate
should be0
. However, Chromium explicitly sets them.I think that the Chromium's behavior is reasonable and Mozilla got a bug report about this. So, I suggest that the spec of Pointer Events should define
pointermove
andpointerrawupdate
may have non-zero values ofmovementX
andmovementY
.pointermove
, the source event of the last position should bepointerdown
,pointermove
orpointerup
which had samepointerId
pointerrawupdate
, the source event of the last position should bepointerrawupdate
which had samepointerId
Then, it would be better to redesign the type of
movementX
andmovementY
aredouble
, but it must be better browsers to keep rounding the values ofMouseEvent
to integer for backward compatibility.The text was updated successfully, but these errors were encountered: