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

Unified Diff: third_party/WebKit/LayoutTests/editing/pasteboard/data-transfer-items-drag-drop-string.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/data-transfer-items-drag-drop-string.html
diff --git a/third_party/WebKit/LayoutTests/editing/pasteboard/data-transfer-items-drag-drop-string.html b/third_party/WebKit/LayoutTests/editing/pasteboard/data-transfer-items-drag-drop-string.html
index dc52a09cf9bd7dd892ab9c5f1f3fa574df399b48..4c50e0f8603d2f7f1ef0a3e9ff82b76db0d75ca7 100644
--- a/third_party/WebKit/LayoutTests/editing/pasteboard/data-transfer-items-drag-drop-string.html
+++ b/third_party/WebKit/LayoutTests/editing/pasteboard/data-transfer-items-drag-drop-string.html
@@ -42,6 +42,7 @@ function runNextTest()
debug('Dragging text in ' + sourceId + ': ' + source.value);
// Drag a text in the source element.
+ 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