Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / inserting / editable-inline-element.html
blob0d768a0d938a438e1fdc9d6737abec314d7ce112
1 <p>This tests InsertParagraph inside an editable inline element.</p>
2 <div style="border: 1px solid red;"><span id="span" contenteditable="true">foo</span></div>
4 <script>
5 var sel = window.getSelection();
6 var span = document.getElementById("span");
8 sel.collapse(span, 0);
9 document.execCommand("InsertParagraph");
10 </script>