cursor-image-png-036

Cursor property, PNG

WeasyPrint

This browser

Flags
interact
Assertion
Test checks that an indexed PNG image cursor with transparency is supported.

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" name="flags">
 6 <meta content="Test checks that an indexed PNG image cursor with transparency is supported." name="assert">
 7 <style>
 8 	.test{background: #ffe5b4; border: 2px solid #555;
 9 	cursor:url(support/PTS/tbgn3p08.png), help; width :128px; height: 64px}
10 	.test:before {content: url(support/PTS/tbgn3p08.png)
11 </style>
12 </head><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>indexed PNG image, with transparency (tRNS), 8 bit/pixel.
17 
18 </p></body></html>