| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src=../../fast/js/resources/js-test-pre.js language="javascript" type="t
ext/javascript"></script> | 4 <script src=../../fast/js/resources/js-test-pre.js language="javascript" type="t
ext/javascript"></script> |
| 5 <title>Testing moving cursor to a misspelled word</title> | 5 <title>Testing moving cursor to a misspelled word</title> |
| 6 </head> | 6 </head> |
| 7 <body> | 7 <body> |
| 8 <div id="src" contenteditable="true" spellcheck="true"></div><br/> | 8 <div id="src" contenteditable="true" spellcheck="true"></div><br/> |
| 9 <script language="javascript"> | 9 <script language="javascript"> |
| 10 description('Test if Chrome spellchecks a word again when changing a misspelled
word.' + | 10 description('Test if Chrome spellchecks a word again when changing a misspelled
word.' + |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 debug('Enable asynchronous spellchecking, delete two characters, and insert a sp
ace'); | 23 debug('Enable asynchronous spellchecking, delete two characters, and insert a sp
ace'); |
| 24 internals.settings.setAsynchronousSpellCheckingEnabled(true); | 24 internals.settings.setAsynchronousSpellCheckingEnabled(true); |
| 25 internals.settings.setUnifiedTextCheckerEnabled(true); | 25 internals.settings.setUnifiedTextCheckerEnabled(true); |
| 26 | 26 |
| 27 testRunner.execCommand("DeleteBackward"); | 27 testRunner.execCommand("DeleteBackward"); |
| 28 testRunner.execCommand("DeleteBackward"); | 28 testRunner.execCommand("DeleteBackward"); |
| 29 document.execCommand("InsertText", false, ' '); | 29 document.execCommand("InsertText", false, ' '); |
| 30 | 30 |
| 31 shouldBecomeEqual('internals.hasSpellingMarker(document, 0, 1)', 'false', finish
JSTest); | 31 shouldBecomeEqual('internals.hasSpellingMarker(document, 0, 1)', 'false', finish
JSTest); |
| 32 </script> | 32 </script> |
| 33 <script src="../../fast/js/resources/js-test-post.js"></script> | |
| 34 </body> | 33 </body> |
| 35 </html> | 34 </html> |
| OLD | NEW |