OLD | NEW |
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../../resources/js-test.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 <p id="description"></p> | 7 <p id="description"></p> |
8 <div id="console"></div> | 8 <div id="console"></div> |
9 <script> | 9 <script> |
10 description('HTMLFormElement::checkValidity() with cases that event handlers cal
led by checkValidity() updates DOM structure.') | 10 description('HTMLFormElement::checkValidity() with cases that event handlers cal
led by checkValidity() updates DOM structure.') |
11 | 11 |
12 var parent = document.createElement('div'); | 12 var parent = document.createElement('div'); |
13 document.body.appendChild(parent); | 13 document.body.appendChild(parent); |
14 | 14 |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 }; | 89 }; |
90 document.getElementById('i1').addEventListener('invalid', handler1, false); | 90 document.getElementById('i1').addEventListener('invalid', handler1, false); |
91 // i1 is not listed in 'unhandled invalid controls' because it was moved to | 91 // i1 is not listed in 'unhandled invalid controls' because it was moved to |
92 // another document. | 92 // another document. |
93 shouldBeTrue('document.getElementById("f1").checkValidity()'); | 93 shouldBeTrue('document.getElementById("f1").checkValidity()'); |
94 | 94 |
95 parent.innerHTML = ''; | 95 parent.innerHTML = ''; |
96 </script> | 96 </script> |
97 </body> | 97 </body> |
98 </html> | 98 </html> |
OLD | NEW |