blob: 24fe21d6a3c6fb096baaa376fb7aa86d8b4b9f86 [file] [log] [blame]
<p>This tests caret painting before a table, you should see a caret before the table containing 'foo' above.</p>
<div id="div" contenteditable="true"><table contenteditable="false" style="border: 1px solid #aaa"><tr><td>foo</td></tr></table></div>
<script>
var sel = window.getSelection();
var div = document.getElementById("div");
sel.setPosition(div, 0);
</script>