| <link rel="stylesheet" href="../editingStyle.css"> |
| <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script> |
| moveSelectionForwardByLineCommand(); |
| moveSelectionForwardByLineCommand(); |
| moveSelectionForwardByLineCommand(); |
| moveSelectionForwardByLineCommand(); |
| <title>Editing Test</title> |
| <p>This tests the visual position at the end of an editable block.</p> |
| <p>When the document ended with a <br>, there were visual positions at both [br, 0] and [br, 1]. This would produce inconsistent behavior when editing at the end of a document.</p> |
| <div contenteditable id="test" class="editing"> |
| <script>runEditingTest();</script> |