1 HTMLFormElement::checkValidity() with cases that event handlers called by checkValidity() updates DOM structure.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 The target form is removed.
7 PASS document.getElementById("f1").checkValidity() is false
9 A control to be checked is removed.
10 PASS document.getElementById("f1").checkValidity() is false
11 PASS handler2Called is false
13 A new control is added.
14 PASS document.getElementById("f1").checkValidity() is false
15 PASS handler2Called is false
17 A control is moved to another form.
18 PASS document.getElementById("f1").checkValidity() is false
19 PASS handler2Called is false
21 A control is moved to another document.
22 PASS document.getElementById("f1").checkValidity() is true
23 PASS successfullyParsed is true