cursor-image-png-001

Cursor property, PNG

WeasyPrint

This browser

Flags
image, interact
Assertion
Test checks that a monochrome (type 0) PNG image, 1 bit/pixel, is supported as a CSS custom cursor.

Source

 1 <!DOCTYPE html>
 2 <html><head><title>CSS Basic User Interface Test: Cursor property, PNG</title>
 3 <link href="mailto:chris@w3.org" rel="author" title="Chris Lilley">
 4 <link href="http://www.w3.org/TR/css3-ui/#cursor" rel="help">
 5 <meta content="interact image" name="flags">
 6 <meta charset="UTF-8">
 7 <meta content="Test checks that a monochrome (type 0) PNG image, 1 bit/pixel, is supported as a CSS custom cursor." name="assert">
 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 </head><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 
17 </body></html>