Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / 5569741.html
blob37141ebc578a7492eb70ba7a0fd84a6e65e1e3e5
1 <p>This tests for a bug where hitting return inside an empty paragraph in a non-empty list item would remove it.</p>
2 <div id="div" contenteditable="true">
3 <ul><li id="li">foo<br><br></li></ul>
4 </div>
6 <script>
7 li = document.getElementById("li");
8 sel = window.getSelection();
9 sel.collapse(li, li.childNodes.length);
10 document.execCommand("InsertParagraph");
11 </script>