| OLD | NEW |
| 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 Loading... |
| 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> |
| OLD | NEW |