blob: 295a1b8a39a400fa9bcd3e0ce9fa3f94d266c9c4 [file] [log] [blame]
<script>
if (window.layoutTestController)
layoutTestController.dumpEditingCallbacks();
</script>
<p>This tests for a bug in endOfLine.</p>
<div id="test" contenteditable="true" style="white-space:pre;">You should not see this paragraph after the test.
There should be three paragraphs in this editable region.
The first one should be empty.</div>
<script>
var e = document.getElementById("test");
var s = window.getSelection();
s.setPosition(e, 0);
s.modify("extend", "forward", "lineBoundary");
document.execCommand("Delete");
</script>