| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <body> | 3 <body> |
| 4 <script src="../js/resources/js-test-pre.js"></script> | 4 <script src="../../resources/js-test.js"></script> |
| 5 <script src="resources/common.js"></script> | 5 <script src="resources/common.js"></script> |
| 6 <form id="f" action="interactive-validation-formnovalidate-2.html"> | 6 <form id="f" action="interactive-validation-formnovalidate-2.html"> |
| 7 <input type="hidden" name="submitted" value="true"> | 7 <input type="hidden" name="submitted" value="true"> |
| 8 <input name="i0" required id="i0"> | 8 <input name="i0" required id="i0"> |
| 9 <input type="submit" id="s" formnovalidate> | 9 <input type="submit" id="s" formnovalidate> |
| 10 </form> | 10 </form> |
| 11 <script> | 11 <script> |
| 12 description('Test if the form is submitted with a submit button with formnovalid
ate.'); | 12 description('Test if the form is submitted with a submit button with formnovalid
ate.'); |
| 13 | 13 |
| 14 function startOrVerify() { | 14 function startOrVerify() { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 25 testFailed('The form was not submitted.'); | 25 testFailed('The form was not submitted.'); |
| 26 } | 26 } |
| 27 } | 27 } |
| 28 | 28 |
| 29 if (window.testRunner) | 29 if (window.testRunner) |
| 30 testRunner.waitUntilDone(); | 30 testRunner.waitUntilDone(); |
| 31 window.onload = startOrVerify; | 31 window.onload = startOrVerify; |
| 32 </script> | 32 </script> |
| 33 </body> | 33 </body> |
| 34 </html> | 34 </html> |
| OLD | NEW |