~ubuntu-branches/ubuntu/raring/qtwebkit-source/raring-proposed

« back to all changes in this revision

Viewing changes to ManualTests/caret-image.html

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2013-02-18 14:24:18 UTC
  • Revision ID: package-import@ubuntu.com-20130218142418-eon0jmjg3nj438uy
Tags: upstream-2.3
ImportĀ upstreamĀ versionĀ 2.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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>