darin | 973fff9 | 2006-05-12 16:45:02 +0000 | [diff] [blame] | 1 | <p> |
2 | Test to see if caret works correctly to the right of an image. | ||||
3 | If the test is successful, the caret will look thin as usual. | ||||
4 | If the test fails, the caret will be a big black box the size of the image. | ||||
5 | </p> | ||||
6 | |||||
7 | <div id="test" contenteditable="true">free<img src="resources/webkit-background.png">lunch</div> | ||||
8 | |||||
9 | <script>window.getSelection().setPosition(document.getElementById("test"), 2);</script> |