blob: 6150ee8ef26c309652e764a2b12adcabed654448 [file] [log] [blame]
Tests that we find controls if they have a range limitation and are in-range.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
==> :in-range should match to an INPUT without a value:
PASS document.querySelector("input[type=number]:in-range").id is "number1"
==> :in-range should match to an INPUT with an in-range value:
PASS document.querySelector("input[type=number]:in-range").id is "number1"
PASS document.querySelector("input[type=range]:in-range").id is "range1"
PASS document.querySelectorAll(":in-range").length is 2
PASS successfullyParsed is true
TEST COMPLETE