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

Unified Diff: third_party/WebKit/LayoutTests/editing/input/option-page-up-down.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/input/option-page-up-down.html
diff --git a/third_party/WebKit/LayoutTests/editing/input/option-page-up-down.html b/third_party/WebKit/LayoutTests/editing/input/option-page-up-down.html
index 55d35ad73779a7202f6c16dc09c773a519a44fcf..0edc2fc6558da07943141349549d5ff76c34e415 100644
--- a/third_party/WebKit/LayoutTests/editing/input/option-page-up-down.html
+++ b/third_party/WebKit/LayoutTests/editing/input/option-page-up-down.html
@@ -25,6 +25,7 @@ function runFrameCursorMoveTest() {
var body = doc.body;
body.innerHTML = generateContent();
frame.focus();
+ body.focus();
frame.getSelection().collapse(body.firstChild, 0);
runCursorMoveTest("iframe", frame, frame);
}

Powered by Google App Engine
This is Rietveld 408576698