Why doesn't touch-action affect pointerType mouse?

I had a really good conversation with some of the other Polymer developers
today about how touch-action is supposed to work. They brought up a really
good point: *it's strange that touch-action only matters for touch input. *
*
*
In particular, it seems odd that the story of PointerEvents is that all the
input methods will behave the same, but mouse and pen could have more
fidelity than touch by default. By this I mean that it seems strange that
pointermove would occur for mouse and pen devices regardless of
touch-action value, but touch input needs to have touch-action: none set to
receive events.

Rather than attempt to make touches always emit pointermove, which would
clearly be problematic for scrolling, I suggest that we make pen and mouse
not emit pointermove by default, and only emit pointermove with the same
values of touch-action would emit pointermove for touch currently. While
this would mean more work for the developer, it would be less surprising
than receiving completely different sets of events from touch as from mouse
and pen.

Thoughts?

Received on Wednesday, 19 June 2013 23:13:26 UTC