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

Unified Diff: third_party/WebKit/LayoutTests/editing/selection/mixed-editability-7.html

Issue 2709983005: Selection API: Do not change focus by Selection functions. (Closed)
Patch Set: . Created 3 years, 10 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/selection/mixed-editability-7.html
diff --git a/third_party/WebKit/LayoutTests/editing/selection/mixed-editability-7.html b/third_party/WebKit/LayoutTests/editing/selection/mixed-editability-7.html
index 019ef2840eb4d1be39e19ae0752455c088d54fa2..684eda221e7c88decda3525cf255e7b2f3224787 100644
--- a/third_party/WebKit/LayoutTests/editing/selection/mixed-editability-7.html
+++ b/third_party/WebKit/LayoutTests/editing/selection/mixed-editability-7.html
@@ -8,6 +8,7 @@
<script>
var base = document.getElementById("base");
var extent = document.getElementById("extent");
+document.querySelector("div").focus();
var sel = window.getSelection();
sel.setBaseAndExtent(base, 1, extent, 0);

Powered by Google App Engine
This is Rietveld 408576698