OLD | NEW |
1 Test for event dispatching by spin buttons in a type=number input. | 1 Test for event dispatching by spin buttons in a type=number input. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 Initial state | 6 Initial state |
7 PASS changeEventCounter is 0 | 7 PASS changeEventCounter is 0 |
8 PASS inputEventCounter is 0 | 8 PASS inputEventCounter is 0 |
9 Click the upper button | 9 Click the upper button |
| 10 Triggers only input event |
10 PASS testInput.value is "1" | 11 PASS testInput.value is "1" |
| 12 PASS changeEventCounter is 0 |
| 13 PASS inputEventCounter is 1 |
| 14 Triggers only change event |
11 PASS changeEventCounter is 1 | 15 PASS changeEventCounter is 1 |
12 PASS inputEventCounter is 1 | 16 PASS inputEventCounter is 1 |
13 Click again, but the value is not changed. | 17 Click again, but the value is not changed. |
14 PASS testInput.value is "1" | 18 PASS testInput.value is "1" |
15 PASS changeEventCounter is 1 | 19 PASS changeEventCounter is 1 |
16 PASS inputEventCounter is 1 | 20 PASS inputEventCounter is 1 |
17 Focus on another field | 21 Focus on another field |
18 PASS changeEventCounter is 1 | 22 PASS changeEventCounter is 1 |
19 PASS inputEventCounter is 1 | 23 PASS inputEventCounter is 1 |
20 PASS successfullyParsed is true | 24 PASS successfullyParsed is true |
21 | 25 |
22 TEST COMPLETE | 26 TEST COMPLETE |
23 | 27 |
OLD | NEW |