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

Unified Diff: third_party/WebKit/LayoutTests/editing/selection/4975120.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/4975120.html
diff --git a/third_party/WebKit/LayoutTests/editing/selection/4975120.html b/third_party/WebKit/LayoutTests/editing/selection/4975120.html
index efb7ae87fc2808a608044ed2c86b7a8f58da4dbc..af8923473b39c4a380c576f0493e919aefe7ef22 100644
--- a/third_party/WebKit/LayoutTests/editing/selection/4975120.html
+++ b/third_party/WebKit/LayoutTests/editing/selection/4975120.html
@@ -9,6 +9,7 @@ function runTest() {
input.focus();
var frame = frames[0];
frame.focus();
+ frame.document.body.focus();
frame.getSelection().collapse(frame.document.body, 0);
if (!window.testRunner)

Powered by Google App Engine
This is Rietveld 408576698