changeset 0 | 4f2f89ce4247 |
-1:000000000000 | 0:4f2f89ce4247 |
---|---|
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> |