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

Side by Side Diff: LayoutTests/fast/forms/input-text-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 <p id="description"></p> 7 <p id="description"></p>
8 <div id="console"></div> 8 <div id="console"></div>
9 9
10 <input type="text" size="5" value="12345" maxlength="4" id="input1"> 10 <input type="text" size="5" value="12345" maxlength="4" id="input1">
11 <input type="text" size="5" maxlength="4" value="12345" id="input2"> 11 <input type="text" size="5" maxlength="4" value="12345" id="input2">
12 <input type="text" id="f" size="5" maxlength="4" value="123"> 12 <input type="text" id="f" size="5" maxlength="4" value="123">
13 <input type="text" id="e" size="5" maxlength="4" value="123"> 13 <input type="text" id="e" size="5" maxlength="4" value="123">
14 <input type="text" id="d" size="5" value="12345"> 14 <input type="text" id="d" size="5" value="12345">
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 shouldBe('domValueOf("h")', '"12" + fancyX + "45"'); 84 shouldBe('domValueOf("h")', '"12" + fancyX + "45"');
85 shouldBe('visibleValueOf("h")', '"12" + fancyX + "45"'); 85 shouldBe('visibleValueOf("h")', '"12" + fancyX + "45"');
86 86
87 debug('set maxLength property that is smaller than initial value'); 87 debug('set maxLength property that is smaller than initial value');
88 document.getElementById("g").maxLength = 4; 88 document.getElementById("g").maxLength = 4;
89 shouldBe('domValueOf("g")', '"12" + fancyX + "45"'); 89 shouldBe('domValueOf("g")', '"12" + fancyX + "45"');
90 shouldBe('visibleValueOf("g")', '"12" + fancyX + "45"'); 90 shouldBe('visibleValueOf("g")', '"12" + fancyX + "45"');
91 </script> 91 </script>
92 </body> 92 </body>
93 </html> 93 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/input-stepup-stepdown.html ('k') | LayoutTests/fast/forms/input-text-paste-maxlength.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698