blob: df6eb78a7043969acf8e61409845ad4870ce9c47 [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>