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

Unified Diff: third_party/WebKit/LayoutTests/accessibility/misspellings.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/accessibility/misspellings.html
diff --git a/third_party/WebKit/LayoutTests/accessibility/misspellings.html b/third_party/WebKit/LayoutTests/accessibility/misspellings.html
index ff1e5d53f30118e2a9213fd2a1c5c9de4943bc2e..cb048be3c87f451e5e9efda646a3357c9b7a2f8a 100644
--- a/third_party/WebKit/LayoutTests/accessibility/misspellings.html
+++ b/third_party/WebKit/LayoutTests/accessibility/misspellings.html
@@ -44,6 +44,7 @@
action: () => {
document.designMode = 'on';
// Trigger spell checking on originally static text.
+ document.documentElement.focus();
window.getSelection().collapse(document.getElementById('paragraph'), 0);
},
verification: () => {

Powered by Google App Engine
This is Rietveld 408576698