blob: f7c298ffb3a50e92ccd041fef374c53dc8e4f109 [file] [log] [blame]
Test for event dispatching by spin buttons in a type=number input.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Initial state
PASS changeEventCounter is 0
PASS inputEventCounter is 0
Click the upper button
FAIL testInput.value should be 1. Was -1.
PASS changeEventCounter is 1
PASS inputEventCounter is 1
Click again, but the value is not changed.
FAIL testInput.value should be 1. Was -1.
PASS changeEventCounter is 1
PASS inputEventCounter is 1
Focus on another field
PASS changeEventCounter is 1
PASS inputEventCounter is 1
PASS successfullyParsed is true
TEST COMPLETE