blob: a6dff5effc7904c5e35bd11917d2015324bddf64 [file] [log] [blame]
<p>
Test to see if caret works correctly to the right of an image.
If the test is successful, the caret will look thin as usual.
If the test fails, the caret will be a big black box the size of the image.
</p>
<div id="test" contenteditable="true">free<img src="resources/webkit-background.png">lunch</div>
<script>window.getSelection().setPosition(document.getElementById("test"), 2);</script>