1 Test for event dispatching by spin buttons in a type=datetime-local 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 Triggers only input event on mouseDown
11 PASS testInput.value is "2012-11-01T00:00"
12 PASS changeEventCounter is 0
13 PASS inputEventCounter is 1
14 Triggers only change event on mouseUp
15 PASS testInput.value is "2012-11-01T00:00"
16 PASS changeEventCounter is 1
17 PASS inputEventCounter is 1
18 Focus on another field
19 PASS changeEventCounter is 1
20 PASS inputEventCounter is 1
21 PASS successfullyParsed is true