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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/textarea/textarea-scrollbar.html

Issue 1524663002: Move textarea-related tests to fast/forms/textarea/, part 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script> 3 <script>
4 function test() { 4 function test() {
5 var ta = document.getElementById('ta'); 5 var ta = document.getElementById('ta');
6 ta.focus(); 6 ta.focus();
7 // Send caret to bottom of textarea 7 // Send caret to bottom of textarea
8 ta.setSelectionRange(ta.value.length, ta.value.length); 8 ta.setSelectionRange(ta.value.length, ta.value.length);
9 document.execCommand("InsertText", false, '5'); 9 document.execCommand("InsertText", false, '5');
10 document.execCommand("InsertText", false, '\n'); 10 document.execCommand("InsertText", false, '\n');
(...skipping 10 matching lines...) Expand all
21 This tests that a scrollbar will appear when text overflows the textarea 21 This tests that a scrollbar will appear when text overflows the textarea
22 <br> 22 <br>
23 <textarea rows=6 id="ta"> 23 <textarea rows=6 id="ta">
24 1 24 1
25 2 25 2
26 3 26 3
27 4 27 4
28 </textarea> 28 </textarea>
29 </body> 29 </body>
30 </html> 30 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698