2008-11-04 Anders Carlsson <andersca@apple.com>
[webkit/qt.git] / LayoutTests / editing / deleting / 5099303.html
blob40651939f062c5009142cfac2d1ae917e3023f0a
1 <p>This tests for a bug where deleting from the start of a paragraph after a table would leave the caret in the wrong position.</p>
2 <div contenteditable="true"><table border="1"><tr><td>The caret should be between these two parenthesis: (</td><td contenteditable="false"></td></tr></table><div id="div">).</div></div>
4 <script>
5 var sel = window.getSelection();
6 var div = document.getElementById("div");
7 sel.setPosition(div, 0);
8 </script>