blob: bc44224124449143905b9329a96baa660d7feed5 [file] [log] [blame]
<p>This tests InsertParagraph inside an editable inline element.</p>
<div style="border: 1px solid red;"><span id="span" contenteditable="true">foo</span></div>
<script>
var sel = window.getSelection();
var span = document.getElementById("span");
sel.setPosition(span, 0);
document.execCommand("InsertParagraph");
</script>