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

Unified Diff: LayoutTests/fast/forms/textarea-arrow-navigation.html

Issue 258063005: Blink does not respect input.selectionStart and input.selectionEnd for some cases (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 6 years, 6 months 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/forms/textarea-arrow-navigation.html
diff --git a/LayoutTests/fast/forms/textarea-arrow-navigation.html b/LayoutTests/fast/forms/textarea-arrow-navigation.html
index eeff6c22c41f5ccfb9e6d35e1ed37f87a11102f4..2dfb0e4d726e0f2f69f51a5564fea0c65ba16f4c 100644
--- a/LayoutTests/fast/forms/textarea-arrow-navigation.html
+++ b/LayoutTests/fast/forms/textarea-arrow-navigation.html
@@ -23,6 +23,7 @@ function runTest()
// set the cursor several characters into the first line of the text area so
// that when you go down by a line, the cursor will be at the end of the
// numbered lines:
+ textarea.focus();
textarea.setSelectionRange(5, 5);
for (var i = 0; i < 10; i++) {
// press the 'down arrow' a bunch of times to try to get to the end of the text area

Powered by Google App Engine
This is Rietveld 408576698