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 <script src="resources/common.js"></script> | 5 <script src="resources/common.js"></script> |
6 </head> | 6 </head> |
7 <body> | 7 <body> |
8 <p id="description"></p> | 8 <p id="description"></p> |
9 <div id="console"></div> | 9 <div id="console"></div> |
10 <form action="javascript: failTest(this)" method="get"> | 10 <form action="javascript: failTest(this)" method="get"> |
11 <input id="button1" type="submit" formaction="javascript: passTest1(this)" /> | 11 <input id="button1" type="submit" formaction="javascript: passTest1(this)" /> |
12 <button id="button2" type="submit" formaction="javascript: passTest2(this)" /> | 12 <button id="button2" type="submit" formaction="javascript: passTest2(this)" /> |
13 <button type="submit" formaction="javascript: passTest3(this)"> | 13 <button type="submit" formaction="javascript: passTest3(this)"> |
14 <span id="span" formaction="javascript: failTest2(this)">submit</span> | 14 <span id="span" formaction="javascript: failTest2(this)">submit</span> |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 testFailed('Both of the action and the formaction attributes were ignored.')
; | 61 testFailed('Both of the action and the formaction attributes were ignored.')
; |
62 | 62 |
63 doneAction = false; | 63 doneAction = false; |
64 var span = document.getElementById('span'); | 64 var span = document.getElementById('span'); |
65 span.click(); | 65 span.click(); |
66 if (!doneAction) | 66 if (!doneAction) |
67 testFailed('Both of the action and the formaction attributes were ignored.')
; | 67 testFailed('Both of the action and the formaction attributes were ignored.')
; |
68 </script> | 68 </script> |
69 </body> | 69 </body> |
70 </html> | 70 </html> |
OLD | NEW |