cursor-image-014-manual.html (832B)
1 <!DOCTYPE html> 2 <title>CSS Basic User Interface Test: Cursor property, image() value</title> 3 <link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> 4 <link rel="help" href="http://www.w3.org/TR/css3-ui/#cursor"> 5 <meta name="flags" content="interact image may"> 6 <meta charset="UTF-8"> 7 <meta name="assert" content="For cursors, UAs may support the image() function, which are part of <image> value type."> 8 9 <style> 10 div.test{ 11 background: #D2B48C; border: 2px solid #555; 12 cursor: image(green), help; 13 width: 128px; height: 128px; 14 } 15 </style> 16 <body> 17 <p>The test passes if, when moved inside the colored rectangle, the cursor looks like 18 a solid patch of green.</p> 19 <p>If inside the rectangle the cursor does not change, or looks like a help cursor, the test fails.</p> 20 <div class="test"> </div> 21 </body>