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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/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
(Empty)
1 <html>
2 <head>
3 <script src="../../resources/js-test.js"></script>
4 </head>
5 <body>
6 <div>
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>
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>
11 <div>
12 <textarea id="ta" rows="5" cols="10">
13 1
14 2
15 3
16 4
17 5
18 6
19 7
20 8
21 9
22 10
23 </textarea>
24 </div>
25 <div id="console"></div>
26 <script type="text/javascript">
27 var ta = document.getElementById('ta');
28 ta.focus();
29 shouldBe('ta.selectionStart', '0');
30 shouldBe('ta.selectionEnd', '0');
31 </script>
32 </body>
33 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698