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

Unified Diff: LayoutTests/editing/pasteboard/pasting-tabs.html

Issue 258063005: Blink does not respect input.selectionStart and input.selectionEnd for some cases (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressing changes asked in previous patch 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/pasteboard/pasting-tabs.html
diff --git a/LayoutTests/editing/pasteboard/pasting-tabs.html b/LayoutTests/editing/pasteboard/pasting-tabs.html
index ed9b3188d3c55d8677be7b0c2e08ab0e4f129060..cf9f8f3c73f4182608e0edd7f6797b62f1fd7f3b 100644
--- a/LayoutTests/editing/pasteboard/pasting-tabs.html
+++ b/LayoutTests/editing/pasteboard/pasting-tabs.html
@@ -9,7 +9,7 @@ if (window.testRunner)
<script>
var textarea = document.getElementById("textarea");
-textarea.setSelectionRange(0, 0);
+textarea.focus();
document.execCommand("SelectAll");
document.execCommand("Copy");
var div = document.getElementById("div");
« no previous file with comments | « LayoutTests/editing/pasteboard/paste-removing-iframe.html ('k') | LayoutTests/editing/selection/5497643.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698