1 Test for keyboard operations of <input type=range>
3 Tests for a horizontal range
4 Press the up arrow key:
5 PASS input.value is "51"
6 PASS changeEventCounter is lastChangeEventCounter + 1
7 Press the down arrow key:
8 PASS input.value is "50"
9 Press the left arrow key:
10 PASS input.value is "49"
11 Press the right arrow key:
12 PASS input.value is "50"
14 PASS input.value is "60"
15 Press the PageDown key:
16 PASS input.value is "50"
18 PASS input.value is "0"
20 PASS input.value is "100"
22 PASS input.value is "0"
23 PASS changeEventCounter is lastChangeEventCounter
24 PASS input.value is "1"
25 PASS input.value is "100"
26 PASS input.value is "99"
27 PASS input.value is "0"
28 PASS changeEventCounter is lastChangeEventCounter
29 PASS input.value is "0"
30 PASS changeEventCounter is lastChangeEventCounter
31 PASS input.value is "100"
32 PASS changeEventCounter is lastChangeEventCounter
33 PASS input.value is "100"
34 PASS changeEventCounter is lastChangeEventCounter
36 Tests for a vertical range
37 Press the up arrow key:
38 PASS input.value is "51"
39 Press the down arrow key:
40 PASS input.value is "50"
41 Press the left arrow key:
42 PASS input.value is "51"
43 Press the right arrow key:
44 PASS input.value is "50"
46 PASS input.value is "60"
47 Press the PageDown key:
48 PASS input.value is "50"
50 PASS input.value is "100"
52 PASS input.value is "0"
55 Press the up arrow key:
56 PASS input.value is "102"
57 PASS changeEventCounter is lastChangeEventCounter + 1
58 Press the down arrow key:
59 PASS input.value is "100"
60 PASS changeEventCounter is lastChangeEventCounter + 1
62 PASS input.value is "120"
63 PASS changeEventCounter is lastChangeEventCounter + 1
64 Press the pagedown key:
65 PASS input.value is "100"
66 PASS changeEventCounter is lastChangeEventCounter + 1
68 PASS input.value is "200"
69 PASS changeEventCounter is lastChangeEventCounter + 1
71 PASS input.value is "0"
72 PASS changeEventCounter is lastChangeEventCounter + 1
74 PASS input.value is "200"
75 PASS input.value is "200"
76 PASS changeEventCounter is lastChangeEventCounter
77 PASS input.value is "198"
78 PASS input.value is "200"
79 PASS input.value is "200"
80 PASS changeEventCounter is lastChangeEventCounter
81 PASS input.value is "180"
82 PASS input.value is "0"
83 PASS input.value is "0"
84 PASS changeEventCounter is lastChangeEventCounter
85 PASS input.value is "2"
86 PASS input.value is "0"
87 PASS input.value is "0"
88 PASS changeEventCounter is lastChangeEventCounter
89 PASS input.value is "20"
92 PASS input.value is "9"
93 PASS input.value is "6"
94 PASS input.value is "0"
95 PASS input.value is "9"
96 PASS input.value is "0"
98 Disabled and read-only
99 PASS input.value is "1"
100 PASS input.value is "1"
101 PASS input.value is "1"
102 PASS input.value is "1"
103 PASS input.value is "1"
104 PASS input.value is "1"
106 PASS successfullyParsed is true