Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / deleting / merge-whitespace-pre.html
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>
7
8 <script>
9 var s = window.getSelection();
10 var e = document.getElementById("test");
11 s.collapse(e, 0);
12 document.execCommand("Delete");
13 </script>