Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 3386d2e413
Fetching contributors…

Cannot retrieve contributors at this time

10 lines (7 sloc) 0.397 kb
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.
<div id="test" contenteditable="true">free<img src="resources/webkit-background.png">lunch</div>
<script>window.getSelection().setPosition(document.getElementById("test"), 2);</script>
Jump to Line
Something went wrong with that request. Please try again.