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

Side by Side Diff: LayoutTests/fast/events/invalid-002.html

Issue 48903019: Delete js-test-post.js. (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
« no previous file with comments | « LayoutTests/fast/events/invalid-001.html ('k') | LayoutTests/fast/events/invalid-003.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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="../js/resources/js-test-pre.js"></script> 4 <script src="../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 <form method="get" id="sad_form"> 8 <form method="get" id="sad_form">
9 <input name="victim" type="text" required oninvalid="testPassed('Invalid control ')"/> 9 <input name="victim" type="text" required oninvalid="testPassed('Invalid control ')"/>
10 <input name="victim" type="text" pattern="Lorem ipsum" value="Loremipsum" oninva lid="testPassed('Invalid control')"/> 10 <input name="victim" type="text" pattern="Lorem ipsum" value="Loremipsum" oninva lid="testPassed('Invalid control')"/>
11 <textarea name="victim" required oninvalid="testPassed('Invalid control')"></tex tarea> 11 <textarea name="victim" required oninvalid="testPassed('Invalid control')"></tex tarea>
12 </form> 12 </form>
13 <div id="console"></div> 13 <div id="console"></div>
14 <script> 14 <script>
15 description("This test checks if checkValidity() invoked on a form control corre ctly asks its elements to fire an invalid event."); 15 description("This test checks if checkValidity() invoked on a form control corre ctly asks its elements to fire an invalid event.");
16 16
17 if (document.getElementById("sad_form").checkValidity()) 17 if (document.getElementById("sad_form").checkValidity())
18 testFailed('checkValidity should have returned false'); 18 testFailed('checkValidity should have returned false');
19 </script> 19 </script>
20 <script src="../js/resources/js-test-post.js"></script>
21 </body> 20 </body>
22 </html> 21 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/events/invalid-001.html ('k') | LayoutTests/fast/events/invalid-003.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698