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

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

Issue 404483002: Revert of "Blink does not respect input.selectionStart and input.selectionEnd for some cases" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 cf9f8f3c73f4182608e0edd7f6797b62f1fd7f3b..ed9b3188d3c55d8677be7b0c2e08ab0e4f129060 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.focus();
+textarea.setSelectionRange(0, 0);
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