Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / inserting / 5549929-3.html
blobce884d37282448a4c2798b4f937b623d78428145
1 <p>This tests inserting a line break at the end of a tab span. Below you should see 'foo' followed by an empty paragraph, with the caret in it.</p>
2 <div id="div" contenteditable="true">foo<span class="Apple-tab-span" style="white-space:pre"> </span></div>
4 <script>
5 div = document.getElementById("div");
6 sel = window.getSelection();
7 sel.collapse(div, div.childNodes.length);
8 document.execCommand("InsertLineBreak");
9 </script>