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

Side by Side Diff: LayoutTests/fast/forms/textarea-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 <script> 9 <script>
10 description('Tests for HTMLTextAreaElement.maxLength behaviors.'); 10 description('Tests for HTMLTextAreaElement.maxLength behaviors.');
11 11
12 var textArea = document.createElement('textarea'); 12 var textArea = document.createElement('textarea');
13 document.body.appendChild(textArea); 13 document.body.appendChild(textArea);
14 14
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 shouldBe('textArea.value', '"ABC"'); 156 shouldBe('textArea.value', '"ABC"');
157 157
158 // In the case maxlength='invalid' 158 // In the case maxlength='invalid'
159 createFocusedTextAreaWithMaxLength('invalid'); 159 createFocusedTextAreaWithMaxLength('invalid');
160 textArea.value = ''; 160 textArea.value = '';
161 document.execCommand('insertText', false, 'ABC'); 161 document.execCommand('insertText', false, 'ABC');
162 shouldBe('textArea.value', '"ABC"'); 162 shouldBe('textArea.value', '"ABC"');
163 </script> 163 </script>
164 </body> 164 </body>
165 </html> 165 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/textarea-input-event.html ('k') | LayoutTests/fast/forms/textarea-metrics.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698