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

Unified Diff: LayoutTests/editing/inserting/4960120-1.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/inserting/4960120-1.html
diff --git a/LayoutTests/editing/inserting/4960120-1.html b/LayoutTests/editing/inserting/4960120-1.html
index f66e180386df97cdc8feccc98ff5369552cd5b87..1dba6859d771c90d519779fd179df2fd6655c261 100644
--- a/LayoutTests/editing/inserting/4960120-1.html
+++ b/LayoutTests/editing/inserting/4960120-1.html
@@ -3,7 +3,7 @@
<script>
var textarea = document.getElementById("textarea");
-textarea.focus();
+textarea.setSelectionRange(0, 0);
document.execCommand("InsertLineBreak");
</script>
« no previous file with comments | « LayoutTests/editing/deleting/5290534.html ('k') | LayoutTests/editing/pasteboard/paste-removing-iframe.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698