blob: 0cf14278626c879b83b4e1c6be8ac4075afb605c [file] [log] [blame]
This tests that decrement and increment alter a range type input element by five percent or one (whichever is larger) when no step is specified.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS largeRange.intValue is 50
PASS largeRange.intValue === 55
PASS largeRange.intValue === 60
PASS largeRange.intValue === 55
PASS largeRange.intValue === 50
PASS smallRange.intValue is 5
PASS smallRange.intValue === 6
PASS smallRange.intValue === 7
PASS smallRange.intValue === 6
PASS smallRange.intValue === 5
PASS successfullyParsed is true
TEST COMPLETE