blob: ea8f9662f757e3590b0883acaae53341673e7fa4 [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>