Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / selection / 5076323-2.html
blobe6ff3ca07bcaa2fb83faa9edc28eb157b39a7aa5
1 <p>This tests caret painting before a table, you should see a caret before the table containing 'foo' above.</p>
2 <div id="div" contenteditable="true"><table contenteditable="false" style="border: 1px solid #aaa"><tr><td>foo</td></tr></table></div>
3 <script>
4 var sel = window.getSelection();
5 var div = document.getElementById("div");
6 sel.collapse(div, 0);
7 </script>