blob: 5c5d3ff7d215623f56d466aa1f93431f519312c8 [file] [log] [blame]
<script>
if (window.layoutTestController)
layoutTestController.dumpEditingCallbacks();
</script>
<p>This testcase used to break InsertLineBreak. The editable region below should have two empty paragraphs in it, and the caret should be in the second.</p>
<div id="test" contenteditable="true"><div>
<br></div></div>
<script>
var s = window.getSelection();
var e = document.getElementById("test");
s.setPosition(e, 0);
document.execCommand("InsertLineBreak");
</script>