blob: 8ded2e95eac82f5418bbfc198adb284a4eb02a7b [file] [log] [blame]
<script>
if (window.testRunner)
testRunner.dumpEditingCallbacks();
</script>
<p>This tests InsertParagraphSeparator inside table cells. 'Cell' and 'Two' should be on separate lines.</p>
<div contenteditable="true"><table border="1"><tr><td>Cell One</td><td>Cell <span id="test">Two</span></td></tr></table></div>
<script>
var e = document.getElementById("test").firstChild;
var s = window.getSelection();
s.setPosition(e, 0);
document.execCommand("InsertParagraph");
</script>