1 ValidationMessageClient: main-message=Please fill out this field. sub-message=
2 ValidationMessageClient: main-message=Please match the requested format. sub-message=
3 ValidationMessageClient: main-message=Please fill out this field. sub-message=
4 ValidationMessageClient: main-message=Please select an item in the list. sub-message=
5 ValidationMessageClient: main-message=Please fill out this field. sub-message=
6 This test checks if reportValidity() 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.
8 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
12 PASS reportValidityFor("input-empty") is false
13 PASS document.activeElement is $("input-empty")
14 PASS reportValidityFor("input-pattern-mismatch") is false
15 PASS document.activeElement is $("input-pattern-mismatch")
16 PASS reportValidityFor("textarea") is false
17 PASS document.activeElement is $("textarea")
18 PASS reportValidityFor("select-no-explicit-value") is true
19 PASS document.activeElement is not $("select-no-explicit-value")
20 PASS reportValidityFor("select-placeholder") is false
21 PASS document.activeElement is $("select-placeholder")
22 PASS reportValidityFor("select-non-placeholder") is true
23 PASS document.activeElement is not $("select-non-placeholder")
24 PASS reportValidityFor("sad-form") is false
25 PASS document.activeElement is $("input-empty")
26 PASS successfullyParsed is true