1 This test checks if checkValidity() returns correctly a false (meaning error) result on invalid elements, and returns a true result on a blank but valid elements. Blank but non-placeholder label options are valid.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
7 PASS checkValidityFor("input-empty") is false
8 PASS checkValidityFor("input-pattern-mismatch") is false
9 PASS checkValidityFor("textarea") is false
10 PASS checkValidityFor("select-no-explicit-value") is true
11 PASS checkValidityFor("select-placeholder") is false
12 PASS checkValidityFor("select-non-placeholder") is true
13 PASS successfullyParsed is true