| <html> |
| |
| <head> |
| <script src="../editing.js"></script> |
| <script> |
| function editingTest() { |
| extendSelectionForwardByLineCommand(); |
| deleteCommand(); |
| } |
| </script> |
| </head> |
| |
| <body> |
| |
| <p>This tests deletion of an empty line starting inside a <div> element, |
| but ending outside that element (just before a <br>). If the deletion is |
| successful, the result should have two lines, and the insertion point |
| should be on the second line, at the end of the editable area.</p> |
| |
| <div contenteditable> |
| <div>a</div><div id="test"><br></div><br> |
| </div> |
| |
| </body> |
| |
| <script>runEditingTest()</script> |
| |
| </html> |