blob: 764dab6d4247cc55b7e5321a50eb4ef57e0c5f32 [file] [log] [blame]
<script>
if (window.layoutTestController)
layoutTestController.dumpEditingCallbacks();
</script>
<p>When a user puts the caret at the very beginning a list and hits delete into an empty line, the list should just move up.</p>
<div contenteditable="true"><div><br></div><ul><li><span id="test">foo</span></li></ul></div>
<script>
var e = document.getElementById("test");
window.getSelection().setPosition(e, 0);
document.execCommand("Delete");
</script>