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

Unified Diff: third_party/WebKit/LayoutTests/editing/pasteboard/drag-drop-url-text.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/pasteboard/drag-drop-url-text.html
diff --git a/third_party/WebKit/LayoutTests/editing/pasteboard/drag-drop-url-text.html b/third_party/WebKit/LayoutTests/editing/pasteboard/drag-drop-url-text.html
index 99a55cb1a0c337a66bf57d7729960de558941fde..f9640438cdb0672cd673ea41a56f7f8bd74a9002 100644
--- a/third_party/WebKit/LayoutTests/editing/pasteboard/drag-drop-url-text.html
+++ b/third_party/WebKit/LayoutTests/editing/pasteboard/drag-drop-url-text.html
@@ -17,6 +17,7 @@ function editingTest() {
// Drag a URL text in the source
var source = document.getElementById("source");
+ source.focus();
source.setSelectionRange(0, source.value.length);
x = source.offsetLeft + 10;
y = source.offsetTop + source.offsetHeight / 2;

Powered by Google App Engine
This is Rietveld 408576698