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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/spelling/grammar.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, 3 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 unified diff | Download patch
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../resources/js-test.js"></script> 3 <script src="../../resources/js-test.js"></script>
4 4
5 <style> 5 <style>
6 .editing { 6 .editing {
7 border: 2px solid red; 7 border: 2px solid red;
8 padding: 12px; 8 padding: 12px;
9 font-size: 24px; 9 font-size: 24px;
10 } 10 }
(...skipping 20 matching lines...) Expand all
31 31
32 <title>Editing Test</title> 32 <title>Editing Test</title>
33 </head> 33 </head>
34 <body> 34 <body>
35 <div contenteditable id="root" class="editing"></div> 35 <div contenteditable id="root" class="editing"></div>
36 <script> 36 <script>
37 description("This tests whether the grammatically-incorrect phrase " 37 description("This tests whether the grammatically-incorrect phrase "
38 + "'I have a issue' has grammar marker on 'a'."); 38 + "'I have a issue' has grammar marker on 'a'.");
39 39
40 jsTestIsAsync = true; 40 jsTestIsAsync = true;
41 if (window.testRunner)
42 testRunner.setMockSpellCheckerEnabled(true);
41 43
42 editingTest(); 44 editingTest();
43 </script> 45 </script>
44 </body> 46 </body>
45 </html> 47 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698