Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / deleting / merge-whitespace-pre.html
blob6c828aa8710569ac4123a4956d21db5a1ccb4f89
1 <p>This test places the caret before the 'b' in 'bar' and Delete. Afterword, 'foobar' should be in the first paragraph and 'baz' should be in the second.</p>
2 <div contenteditable="true">
3 <div>foo</div>
4 <pre id="test">bar
5 baz</pre>
6 </div>
8 <script>
9 var s = window.getSelection();
10 var e = document.getElementById("test");
11 s.collapse(e, 0);
12 document.execCommand("Delete");
13 </script>