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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/textarea-select.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
(Empty)
1 <html>
2 <head>
3 <script src="../../resources/js-test.js"></script>
4 </head>
5 <body>
6 <textarea id="text"></textarea>
7 <script>
8 description("This test calls textarea.select and confirms selectionStart/End.");
9
10 text.value = "hello\n";
11 text.select();
12 shouldBe("text.selectionStart", "0");
13 shouldBe("text.selectionEnd", "6");
14 </script>
15 </body>
16 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698