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

Unified Diff: third_party/WebKit/LayoutTests/editing/selection/4975120.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/editing/selection/4975120.html
diff --git a/third_party/WebKit/LayoutTests/editing/selection/4975120.html b/third_party/WebKit/LayoutTests/editing/selection/4975120.html
index 7c1cf331c72592af703975a770285806a6406eb2..efb7ae87fc2808a608044ed2c86b7a8f58da4dbc 100644
--- a/third_party/WebKit/LayoutTests/editing/selection/4975120.html
+++ b/third_party/WebKit/LayoutTests/editing/selection/4975120.html
@@ -6,6 +6,7 @@ if (window.testRunner)
function runTest() {
var input = document.getElementById("input");
input.setSelectionRange(0, 3);
+ input.focus();
var frame = frames[0];
frame.focus();
frame.getSelection().collapse(frame.document.body, 0);

Powered by Google App Engine
This is Rietveld 408576698