cursor-image-png-001-manual.html (768B)
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 image"> 6 <meta charset="UTF-8"> 7 <meta name="assert" content="Test checks that a monochrome (type 0) PNG image, 1 bit/pixel, is supported as a CSS custom cursor."> 8 <style> 9 div.test{background: #AAA; border: 2px solid #555; 10 cursor:url(support/PTS/basn0g01.png), help; width: 128px; height: 64px} 11 div.test:before {content: url(support/PTS/basn0g01.png) 12 </style> 13 <body> 14 <p>The test passes if, when moved inside the grey rectangle, the cursor looks like the reference image.</p> 15 <div class="test"> </div> 16 </body>