| <html> |
| |
| <head> |
| <script src="../editing.js"></script> |
| <script> |
| function editingTest() { |
| moveSelectionForwardByLineCommand(); |
| extendSelectionForwardByLineCommand(); |
| deleteCommand(); |
| } |
| </script> |
| </head> |
| |
| <body> |
| |
| <p>This tests deletion of an empty line which is a <br> element just after |
| a <div> element. If the deletion is successful, the result should have two lines, |
| and the insertion point should be at the start of the second line, just before the letter "b".</p> |
| |
| <div contenteditable> |
| <div id="test">a</div><br><div>b</div> |
| </div> |
| |
| </body> |
| |
| <script>runEditingTest()</script> |
| |
| </html> |