OLD | NEW |
(Empty) | |
| 1 This is a testharness.js-based test. |
| 2 PASS range type support on input element |
| 3 PASS min attribute support on input element |
| 4 PASS max attribute support on input element |
| 5 FAIL Illegal value of min attribute assert_equals: expected "0" but got "ab" |
| 6 FAIL Illegal value of max attribute assert_equals: expected "100" but got "f" |
| 7 PASS Converting an illegal string to the default value |
| 8 FAIL Converting an illegal string to the default step assert_equals: expected "1
" but got "xyz" |
| 9 PASS the value is set to min when a smaller value than min attribute is given |
| 10 PASS the value is set to max when a larger value than max attribute is given |
| 11 FAIL default value of min attribute in input type=range assert_equals: expected
"0" but got "" |
| 12 FAIL default value of max attribute in input type=range assert_equals: expected
"100" but got "" |
| 13 PASS default value when min and max attributes are given (= min plus half the di
fference between min and max) |
| 14 PASS default value with step control when both min and max attributes are given |
| 15 FAIL default value when both min and max attributes are given, while min > max a
ssert_equals: expected "2" but got "51" |
| 16 PASS The default step scale factor is 1, unless min attribute has non-integer va
lue |
| 17 PASS Step scale factor behavior when min attribute has integer value but max att
ribute is non-integer |
| 18 FAIL The default scale factor is 1 even if step attribute is explicitly set to n
on-integer value, unless min attribute has non-integer value assert_equals: expe
cted "1" but got "0.5" |
| 19 PASS Solving the step mismatch |
| 20 PASS Performing stepUp() |
| 21 PASS Performing stepDown() |
| 22 PASS Performing stepUp() beyond the value of the max attribute |
| 23 PASS Performing stepDown() beyond the value of the min attribute |
| 24 Harness: the test ran to completion. |
| 25 |
OLD | NEW |