1 Each form control in this document exposes a validity attribute that returns a live instance of ValidityState.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 ===> Tests for FIELDSET
7 PASS "validity" in controls[i] is true
8 PASS validity1 = controls[i].validity; validity1 instanceof ValidityState is true
9 PASS validity2 = controls[i].validity; validity1 === validity2 is true
10 PASS countAttr(controls[i].validity) is 11
12 PASS "validity" in controls[i] is true
13 PASS validity1 = controls[i].validity; validity1 instanceof ValidityState is true
14 PASS validity2 = controls[i].validity; validity1 === validity2 is true
15 PASS countAttr(controls[i].validity) is 11
17 PASS "validity" in controls[i] is true
18 PASS validity1 = controls[i].validity; validity1 instanceof ValidityState is true
19 PASS validity2 = controls[i].validity; validity1 === validity2 is true
20 PASS countAttr(controls[i].validity) is 11
21 ===> Tests for TEXTAREA
22 PASS "validity" in controls[i] is true
23 PASS validity1 = controls[i].validity; validity1 instanceof ValidityState is true
24 PASS validity2 = controls[i].validity; validity1 === validity2 is true
25 PASS countAttr(controls[i].validity) is 11
27 PASS "validity" in controls[i] is true
28 PASS validity1 = controls[i].validity; validity1 instanceof ValidityState is true
29 PASS validity2 = controls[i].validity; validity1 === validity2 is true
30 PASS countAttr(controls[i].validity) is 11
32 PASS "validity" in controls[i] is true
33 PASS validity1 = controls[i].validity; validity1 instanceof ValidityState is true
34 PASS validity2 = controls[i].validity; validity1 === validity2 is true
35 PASS countAttr(controls[i].validity) is 11
37 PASS "validity" in controls[i] is true
38 PASS validity1 = controls[i].validity; validity1 instanceof ValidityState is true
39 PASS validity2 = controls[i].validity; validity1 === validity2 is true
40 PASS countAttr(controls[i].validity) is 11
42 PASS "validity" in controls[i] is true
43 PASS validity1 = controls[i].validity; validity1 instanceof ValidityState is true
44 PASS validity2 = controls[i].validity; validity1 === validity2 is true
45 PASS countAttr(controls[i].validity) is 11
46 PASS new ValidityState() threw exception TypeError: Illegal constructor.
47 PASS successfullyParsed is true