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

Unified Diff: third_party/WebKit/LayoutTests/editing/inserting/4960120-1.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/inserting/4960120-1.html
diff --git a/third_party/WebKit/LayoutTests/editing/inserting/4960120-1.html b/third_party/WebKit/LayoutTests/editing/inserting/4960120-1.html
index 1dba6859d771c90d519779fd179df2fd6655c261..f7740889f53b0ebb14492e5fd9a16155d6a093f1 100644
--- a/third_party/WebKit/LayoutTests/editing/inserting/4960120-1.html
+++ b/third_party/WebKit/LayoutTests/editing/inserting/4960120-1.html
@@ -4,6 +4,6 @@
<script>
var textarea = document.getElementById("textarea");
textarea.setSelectionRange(0, 0);
-
+textarea.focus();
document.execCommand("InsertLineBreak");
</script>

Powered by Google App Engine
This is Rietveld 408576698