blob: 493854872a5736d66c5eb61197066fc37c90ed24 [file] [log] [blame]
<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 &lt;div&gt; element,
but ending outside that element (just before a &lt;br&gt;). 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>