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

Unified Diff: LayoutTests/editing/inserting/4960120-1.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/inserting/4960120-1.html
diff --git a/LayoutTests/editing/inserting/4960120-1.html b/LayoutTests/editing/inserting/4960120-1.html
index 1dba6859d771c90d519779fd179df2fd6655c261..f66e180386df97cdc8feccc98ff5369552cd5b87 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.setSelectionRange(0, 0);
+textarea.focus();
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