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 <form method="get" action="?"> | 9 <form method="get" action="?"> |
10 <input type="hidden" name="hidden" value="I am hidden" /> | 10 <input type="hidden" name="hidden" value="I am hidden" /> |
11 <button id="button" formmethod="post" type="submit" name="button" value="val
ue" /> | 11 <button id="button" formmethod="post" type="submit" name="button" value="val
ue" /> |
12 </form> | 12 </form> |
13 <script> | 13 <script> |
14 description("Test for the formmethod attribute in button tags."); | 14 description("Test for the formmethod attribute in button tags."); |
(...skipping 12 matching lines...) Expand all Loading... |
27 else | 27 else |
28 testFailed('The formmethod attribute was not used'); | 28 testFailed('The formmethod attribute was not used'); |
29 | 29 |
30 if (window.testRunner) | 30 if (window.testRunner) |
31 testRunner.notifyDone(); | 31 testRunner.notifyDone(); |
32 } | 32 } |
33 } | 33 } |
34 </script> | 34 </script> |
35 </body> | 35 </body> |
36 </html> | 36 </html> |
OLD | NEW |