2008-11-04 Anders Carlsson <andersca@apple.com>
[webkit/qt.git] / LayoutTests / editing / deleting / merge-whitespace-pre.html
blob9b92f0926be3715fce74509449ec4b84f2db290b
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.setPosition(e, 0);
12 document.execCommand("Delete");
13 </script>