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