blob: f5c9f6af6111681e0136899fef13ba9054b0bb82 [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.collapse(e, 0);
document.execCommand("InsertParagraph");
</script>