weinig@apple.com | 265efad | 2008-07-14 05:23:53 +0000 | [diff] [blame] | 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>
|