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

Side by Side Diff: LayoutTests/fast/forms/input-appearance-maxlength.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 </head> 5 </head>
6 <body> 6 <body>
7 7
8 <input type="text" id="sp" style="-khtml-appearance:textfield" maxlength=5 value ="123456"></input> 8 <input type="text" id="sp" style="-khtml-appearance:textfield" maxlength=5 value ="123456"></input>
9 9
10 <script> 10 <script>
11 description('This test changes the value of the text field by simulating typing, and then gets the value.'); 11 description('This test changes the value of the text field by simulating typing, and then gets the value.');
12 12
13 var input = document.getElementById('sp'); 13 var input = document.getElementById('sp');
14 14
(...skipping 10 matching lines...) Expand all
25 document.execCommand("InsertText", false, 'efghi'); 25 document.execCommand("InsertText", false, 'efghi');
26 26
27 if (input.value == "abcde") { 27 if (input.value == "abcde") {
28 testPassed('Maxlength works for inserted text.'); 28 testPassed('Maxlength works for inserted text.');
29 } else { 29 } else {
30 testFailed('Maxlength does not work for inserted text.'); 30 testFailed('Maxlength does not work for inserted text.');
31 } 31 }
32 </script> 32 </script>
33 </body> 33 </body>
34 </html> 34 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/indeterminate-input-types.html ('k') | LayoutTests/fast/forms/input-autofilled.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698