blob: 86a8222c64dc3791ad0db7708fda7fd4411c9fa1 [file] [log] [blame]
<script>
if (window.testRunner)
testRunner.waitUntilDone();
function runTest() {
var frame = frames[0];
var doc = frame.document;
var body = doc.body;
var sel = frame.getSelection();
sel.collapse(body, 0);
if (window.testRunner)
testRunner.notifyDone();
}
</script>
<p>This tests for a caret painting bug. You should not see a caret in the editable subframe below.</p>
<iframe src="../resources/contenteditable-iframe-src.html" onload="runTest();"></iframe>