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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/textarea/textarea-initial-caret-position.html

Issue 1522803002: Move textarea-related tests to fast/forms/textarea/, part 1. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@color-uaf
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 src="../../resources/js-test.js"></script> 3 <script src="../../../resources/js-test.js"></script>
4 </head> 4 </head>
5 <body> 5 <body>
6 <div> 6 <div>
7 <p>This tests the initial caret position for textareas.</p> 7 <p>This tests the initial caret position for textareas.</p>
8 <p>Bug 11746: REGRESSION(r14931): Outlook Web Access incorrectly positions the i nsertion point when replying to e-mail<br> 8 <p>Bug 11746: REGRESSION(r14931): Outlook Web Access incorrectly positions the i nsertion point when replying to e-mail<br>
9 <a href="http://bugs.webkit.org/show_bug.cgi?id=11746">http://bugs.webkit.org/sh ow_bug.cgi?id=11746</a></p> 9 <a href="http://bugs.webkit.org/show_bug.cgi?id=11746">http://bugs.webkit.org/sh ow_bug.cgi?id=11746</a></p>
10 </div> 10 </div>
11 <div> 11 <div>
12 <textarea id="ta" rows="5" cols="10"> 12 <textarea id="ta" rows="5" cols="10">
13 1 13 1
(...skipping 10 matching lines...) Expand all
24 </div> 24 </div>
25 <div id="console"></div> 25 <div id="console"></div>
26 <script type="text/javascript"> 26 <script type="text/javascript">
27 var ta = document.getElementById('ta'); 27 var ta = document.getElementById('ta');
28 ta.focus(); 28 ta.focus();
29 shouldBe('ta.selectionStart', '0'); 29 shouldBe('ta.selectionStart', '0');
30 shouldBe('ta.selectionEnd', '0'); 30 shouldBe('ta.selectionEnd', '0');
31 </script> 31 </script>
32 </body> 32 </body>
33 </html> 33 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698