blob: df574c0d513de53ae8c09c859ff0835c774da93d [file] [log] [blame]
<html>
<body contenteditable="true">
<p>This tests for setting the selection at a position inside a document in designMode. You should see a caret at the start of the body.</p>
</body>
<script>
document.designMode = "on";
var sel = window.getSelection();
var range = document.createRange();
range.setStart(document, 0);
range.setEnd(document, 0);
sel.addRange(range);
</script>
</html>