| 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="../../fast/js/resources/js-test-pre.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.') |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 handler1 = function(event) { | 87 handler1 = function(event) { |
| 88 doc2.body.appendChild(doc2.adoptNode(document.getElementById('i1'))); | 88 doc2.body.appendChild(doc2.adoptNode(document.getElementById('i1'))); |
| 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 <script src="../../fast/js/resources/js-test-post.js"></script> | |
| 98 </body> | 97 </body> |
| 99 </html> | 98 </html> |
| OLD | NEW |