| <html> |
| <head> |
| |
| <style> |
| .editing { |
| font-family: 'Times New Roman'; |
| font-size: 12pt; |
| } |
| </style> |
| <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script> |
| |
| <script> |
| |
| function editingTest() { |
| typeCharacterCommand('w'); |
| typeCharacterCommand('a'); |
| typeCharacterCommand('f'); |
| typeCharacterCommand('e'); |
| typeCharacterCommand('w'); |
| typeCharacterCommand('e'); |
| typeCharacterCommand(' '); |
| typeCharacterCommand('r'); |
| typeCharacterCommand('e'); |
| typeCharacterCommand('w'); |
| typeCharacterCommand('d'); |
| typeCharacterCommand('f'); |
| typeCharacterCommand('e'); |
| typeCharacterCommand('a'); |
| typeCharacterCommand(' '); |
| } |
| |
| </script> |
| |
| <title>Editing Test</title> |
| </head> |
| <body> |
| <div>There should not be any misspelling dots between the two misspelled words.</div> |
| <div contenteditable id="root" class="editing"> |
| <span id="test"></span> |
| </div> |
| |
| <script> |
| runEditingTest(); |
| </script> |
| |
| </body> |
| </html> |