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

Unified Diff: third_party/WebKit/LayoutTests/editing/spelling/markers-input-type-text.html

Issue 2270293003: Add a switch to TestRunner to enable/disable mock spell checker (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use in-class initialization Created 4 years, 4 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/spelling/markers-input-type-text.html
diff --git a/third_party/WebKit/LayoutTests/editing/spelling/markers-input-type-text.html b/third_party/WebKit/LayoutTests/editing/spelling/markers-input-type-text.html
index 07453e75d9055bb54eb61d5993683883407c4b50..18f24690c264db128b8f46a308f3aaf5e0b27937 100644
--- a/third_party/WebKit/LayoutTests/editing/spelling/markers-input-type-text.html
+++ b/third_party/WebKit/LayoutTests/editing/spelling/markers-input-type-text.html
@@ -25,6 +25,8 @@ description("Misspelling markers in text inputs should only be visible if an inp
+ "but not for the first textarea. Focus the input again - misspelling markers should be restored.");
jsTestIsAsync = true;
+if (window.testRunner)
+ testRunner.setMockSpellCheckerEnabled(true);
var testTextArea = document.getElementById("testTextArea");
var testInput = document.getElementById("testInput");

Powered by Google App Engine
This is Rietveld 408576698