OLD | NEW |
1 Tests that we find controls if they have a range limitation and are in-range. | 1 Tests that we find controls if they have a range limitation and are in-range. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 ==> :in-range should match to an INPUT without a value: | 6 ==> :in-range should match to an INPUT without a value: |
7 PASS document.querySelector("input[type=number]:in-range").id is "number1" | 7 PASS document.querySelector("input[type=number]:in-range").id is "number1" |
8 | 8 |
9 ==> :in-range should match to an INPUT with an in-range value: | 9 ==> :in-range should match to an INPUT with an in-range value: |
10 PASS document.querySelector("input[type=number]:in-range").id is "number1" | 10 PASS document.querySelector("input[type=number]:in-range").id is "number1" |
11 PASS document.querySelector("input[type=range]:in-range").id is "range1" | 11 PASS document.querySelector("input[type=range]:in-range").id is "range1" |
12 PASS document.querySelectorAll(":in-range").length is 2 | 12 PASS document.querySelectorAll(":in-range").length is 2 |
13 PASS successfullyParsed is true | 13 PASS successfullyParsed is true |
14 | 14 |
15 TEST COMPLETE | 15 TEST COMPLETE |
16 | 16 |
OLD | NEW |