dmethvin/pointerevents-test — pull request #13 by valan (2013-04-14 00:05:26+00:00)
Title: Test Assertions for pointermove events

for tests like:

> When a pointer changes pressure, the pointermove event must be dispatched

you can't really measure the pressure directly and see if it triggers pointermove, since it's an event property within pointermove

I figured the best way to test this was to listen for pointermove and if the value of event.pressure changes from one event to the next, increment a counter.

since the counter should only increment due to changing pressure, to pass the test, vary pointer pressure until the counter gets to 100. if no pressure is applied, or the browser does not trigger pointermove when that type of input occurs the counter should not increment. and the test will time out

-----

I separated pressure/tilt/contact/coords into separate files, since each type will likely need to be tested individually

-----

it looks like IE 10 does not pass TA: 5.4 - it will not fire pointermove after pointerdown

-----

I haven't tested on a pressure/tilt/touch capable device