cursor-image-png-031.html (777B)
1 <!DOCTYPE html> 2 <title>CSS Basic User Interface Test: Cursor property, PNG</title> 3 <link rel="author" title="Chris Lilley" href="mailto:chris@w3.org"> 4 <link rel="help" href="http://www.w3.org/TR/css3-ui/#cursor"> 5 <meta name="flags" content="interact"> 6 <meta name="assert" content="Test checks that a greyscale PNG image cursor with transparency is supported."> 7 <style> 8 .test{background: #ffe5b4; border: 2px solid #555; 9 cursor:url(support/PTS/tbbn0g04.png), help; width :128px; height: 64px} 10 .test:before {content: url(support/PTS/tbbn0g04.png) 11 </style> 12 <body> 13 <p>The test passes if, when moved inside the peach rectangle, the cursor looks like the reference image.</p> 14 15 <p class="test"> </p> 16 <p>Greyscale PNG image, with transparency (tRNS), 4 bit/pixel. 17 </body>