1 Tests that we find controls if they have a range limitation and are out-of-range.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 ==> :out-of-range doesn't match to an INPUT without a value:
7 PASS document.querySelector("input[type=number]:out-of-range") is null
9 ==> :out-of-range should match to an INPUT with an out-of-range value:
10 PASS document.querySelector("input[type=number]:out-of-range").id is "number1"
11 PASS document.querySelectorAll(":out-of-range").length is 1
13 ==> When the value becomes in-range dynamically, we do not find the control anymore:
14 PASS document.querySelector("input[type=number]:out-of-range") is null
15 PASS document.querySelectorAll(":out-of-range").length is 0
16 PASS successfullyParsed is true