blob: 1a50aba7a7f9d91b9a429b96bc1f95149e1312a4 [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>