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

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

Issue 2270663002: Selection API of INPUT/TEXTAREA should not update FrameSelection without focusing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adjust more tests Created 4 years, 4 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: third_party/WebKit/LayoutTests/fast/forms/textarea/textarea-arrow-navigation.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/textarea/textarea-arrow-navigation.html b/third_party/WebKit/LayoutTests/fast/forms/textarea/textarea-arrow-navigation.html
index 171a9efff3fcb0ab6d97d4d05f69aacf28cf714a..211dfa34d22626a84ae0fc9cb927fe8823d83dc7 100644
--- a/third_party/WebKit/LayoutTests/fast/forms/textarea/textarea-arrow-navigation.html
+++ b/third_party/WebKit/LayoutTests/fast/forms/textarea/textarea-arrow-navigation.html
@@ -24,6 +24,7 @@ function runTest()
// that when you go down by a line, the cursor will be at the end of the
// numbered lines:
textarea.setSelectionRange(5, 5);
+ textarea.focus();
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
eventSender.keyDown("ArrowDown");

Powered by Google App Engine
This is Rietveld 408576698