Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(132)

Side by Side Diff: LayoutTests/fast/forms/formaction-attribute.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698