1 Test for event dispatching by spin buttons in a type=number input.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
7 PASS changeEventCounter is 0
8 PASS inputEventCounter is 0
10 PASS testInput.value is "1"
11 PASS changeEventCounter is 1
12 PASS inputEventCounter is 1
13 Click again, but the value is not changed.
14 PASS testInput.value is "1"
15 PASS changeEventCounter is 1
16 PASS inputEventCounter is 1
17 Focus on another field
18 PASS changeEventCounter is 1
19 PASS inputEventCounter is 1
20 PASS successfullyParsed is true