cursor-image-016-manual.html (924B)
1 <!DOCTYPE html> 2 <title>CSS Basic User Interface Test: Cursor property, cross-fade 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 cross-fade(), which is part of <image> value type"> 8 9 <style> 10 div.test{ 11 background: #D2B48C; border: 2px solid #555; 12 cursor: cross-fade( url("support/cursors/woolly-64.ico"), green), cross-fade( url("support/cursors/woolly-64.png"), 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 green sheep.</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>