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

« back to all changes in this revision

Viewing changes to ManualTests/cursor-max-size.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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN">
 
2
<html>
 
3
<head>
 
4
<style>
 
5
html, body
 
6
{
 
7
    height: 100%; width: 100%; overflow: hidden; position: relative;
 
8
    cursor: url("resources/apple.jpg"),                 /* bigger than 128px x 128px */
 
9
            url("resources/helpCursor.tiff") -10 10,    /* negative x in hotspot */
 
10
            url("resources/helpCursor.tiff") 10 -10,    /* negative y in hotspot */
 
11
            url("resources/helpCursor.tiff") -10 -10,    /* negative x and y in hotspot */
 
12
            url("resources/helpCursor.tiff") 20 10,     /* x hotspot outside image (image is 16px x 16px) */
 
13
            url("resources/helpCursor.tiff") 10 20,     /* y hotspot outside image (image is 16px x 16px) */
 
14
            url("resources/helpCursor.tiff") 20 20,     /* both x and y hotspot outside image (image is 16px x 16px) */
 
15
            auto;
 
16
}
 
17
</style>
 
18
</head>
 
19
<body>
 
20
    <p>
 
21
        If there is a custom cursor, the test has failed. This tests that images larger than 128x128 cannot be used
 
22
        as cursors and that hotspots cannot be outside of the cursors bounds box.
 
23
    </p>
 
24
</body>
 
25
</html>