yosin@chromium.org | dd55ada | 2012-07-26 02:05:51 +0000 | [diff] [blame] | 1 | Test for event dispatching by spin buttons in a type=number input. |
tkent@chromium.org | 3d10af9 | 2010-07-23 00:32:24 +0000 | [diff] [blame] | 2 | |
| 3 | On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
| 4 | |
| 5 | |
| 6 | Initial state |
| 7 | PASS changeEventCounter is 0 |
| 8 | PASS inputEventCounter is 0 |
| 9 | Click the upper button |
yosin@chromium.org | dd55ada | 2012-07-26 02:05:51 +0000 | [diff] [blame] | 10 | PASS testInput.value is "1" |
commit-queue@webkit.org | a3b27e6 | 2012-02-28 07:02:01 +0000 | [diff] [blame] | 11 | PASS changeEventCounter is 1 |
tkent@chromium.org | 3d10af9 | 2010-07-23 00:32:24 +0000 | [diff] [blame] | 12 | PASS inputEventCounter is 1 |
| 13 | Click again, but the value is not changed. |
yosin@chromium.org | dd55ada | 2012-07-26 02:05:51 +0000 | [diff] [blame] | 14 | PASS testInput.value is "1" |
commit-queue@webkit.org | e5f7a5e | 2012-02-27 05:27:43 +0000 | [diff] [blame] | 15 | PASS changeEventCounter is 1 |
tkent@chromium.org | 3d10af9 | 2010-07-23 00:32:24 +0000 | [diff] [blame] | 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 |
| 21 | |
| 22 | TEST COMPLETE |
| 23 | |