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

Unified Diff: third_party/WebKit/LayoutTests/editing/input/scroll-viewport-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/scroll-viewport-page-up-down.html
diff --git a/third_party/WebKit/LayoutTests/editing/input/scroll-viewport-page-up-down.html b/third_party/WebKit/LayoutTests/editing/input/scroll-viewport-page-up-down.html
index 3aee524f1e6c4599b823080b74c0f77a9d367a55..374eb69c9afa9244b1302ad09251048c0507a010 100644
--- a/third_party/WebKit/LayoutTests/editing/input/scroll-viewport-page-up-down.html
+++ b/third_party/WebKit/LayoutTests/editing/input/scroll-viewport-page-up-down.html
@@ -28,6 +28,7 @@ function runFrameScrollTest() {
var body = doc.body;
body.innerHTML = generateContent();
frame.focus();
+ body.focus();
frame.getSelection().collapse(body.firstChild, 0);
if (onMacPlatform)
offsets = [ 55, 175 ];

Powered by Google App Engine
This is Rietveld 408576698