Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / deleting / merge-unrendered-space.html
bloba45e687940378360993eb9a1f07d1e577f6bc200
1 <script>
2 if (window.testRunner)
3 testRunner.dumpEditingCallbacks();
4 </script>
5 <p>This tests deleting the line break before a paragraph that ends with unrendered space.</p>
6 <div id="test" contenteditable="true">foo<br>bar
7 <div>baz</div></div>
9 <script type="text/javascript" src="../editing.js"></script>
10 <script>
11 var s = window.getSelection();
12 var e = document.getElementById("test");
14 s.collapse(e, 0);
15 moveSelectionForwardByLineCommand();
16 deleteCommand();
17 </script>