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

Unified Diff: third_party/WebKit/LayoutTests/editing/selection/drag-text-delay.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/drag-text-delay.html
diff --git a/third_party/WebKit/LayoutTests/editing/selection/drag-text-delay.html b/third_party/WebKit/LayoutTests/editing/selection/drag-text-delay.html
index 019f347b37cfc96a3378e2a8d54bcfd4e9c4f05e..d119e3e47bc47b232e4d4b61584de1c182a645eb 100644
--- a/third_party/WebKit/LayoutTests/editing/selection/drag-text-delay.html
+++ b/third_party/WebKit/LayoutTests/editing/selection/drag-text-delay.html
@@ -10,6 +10,7 @@ if (window.testRunner) {
testRunner.dumpAsText();
var text = document.getElementById("text");
+ text.focus();
text.setSelectionRange(0, 5);
var start_x = text.offsetLeft + 5;

Powered by Google App Engine
This is Rietveld 408576698