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

Unified Diff: third_party/WebKit/LayoutTests/editing/selection/mixed-editability-5.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-5.html
diff --git a/third_party/WebKit/LayoutTests/editing/selection/mixed-editability-5.html b/third_party/WebKit/LayoutTests/editing/selection/mixed-editability-5.html
index bc0a2b752731102e20458ea862aeedd41fa199a4..da3f7e605a0bad10b0378eb67178fffa99036d21 100644
--- a/third_party/WebKit/LayoutTests/editing/selection/mixed-editability-5.html
+++ b/third_party/WebKit/LayoutTests/editing/selection/mixed-editability-5.html
@@ -14,6 +14,7 @@ editable
var e = document.getElementById("test");
var s = window.getSelection();
+e.focus();
s.collapse(e, 0);
s.modify("move", "forward", "documentBoundary");

Powered by Google App Engine
This is Rietveld 408576698