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

Unified Diff: LayoutTests/editing/selection/4975120.html

Issue 392573002: HTMLTextAreaElement.setSelectionRange should not change focus. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rename FocusOption Created 6 years, 5 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/editing/selection/4975120.html
diff --git a/LayoutTests/editing/selection/4975120.html b/LayoutTests/editing/selection/4975120.html
index 7c1cf331c72592af703975a770285806a6406eb2..448f9b6d2a65f6f1d117e79c2166d529ad1be787 100644
--- a/LayoutTests/editing/selection/4975120.html
+++ b/LayoutTests/editing/selection/4975120.html
@@ -5,6 +5,7 @@ if (window.testRunner)
function runTest() {
var input = document.getElementById("input");
+ input.focus();
input.setSelectionRange(0, 3);
var frame = frames[0];
frame.focus();

Powered by Google App Engine
This is Rietveld 408576698