1 Tests for checkValidity() with invalid event canceling
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 "invalid" event is not canceled.
7 PASS input.addEventListener("invalid", nothingListener, false); !input.checkValidity() && invalidFired is true
8 PASS invalidFired = false; !form.checkValidity() && invalidFired is true
10 "invalid" event is canceled.
11 PASS input.addEventListener("invalid", cancelListener, false); !input.checkValidity() && invalidFired is true
12 PASS invalidFired = false; !form.checkValidity() && invalidFired is true
13 PASS successfullyParsed is true