blob: 83ec11ce273af4c842e5b5edd4fe253269c35c42 [file] [log] [blame]
Tests that we find controls if they have a range limitation and are out-of-range.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS document.querySelector("input[type=number]:out-of-range").id is "number1"
PASS document.querySelectorAll(":out-of-range").length is 1
When the value becomes in-range dynamically, we do not find the control anymore
PASS document.querySelector("input[type=number]:out-of-range") is null
PASS document.querySelectorAll(":out-of-range").length is 0
PASS successfullyParsed is true
TEST COMPLETE