cursor-box-005.html (802B)
1 <!DOCTYPE html> 2 <title>CSS Basic User Interface Test: cursor on transparent borders</title> 3 <link rel="author" title="Florian Rivoal" href="mailto:florian@rivoal.net"> 4 <link rel="help" href="http://www.w3.org/TR/css3-ui/#cursor"> 5 <meta name="flags" content="interact"> 6 <meta charset="UTF-8"> 7 <meta name="assert" content="The cursor property is applied over the border box, even if the border is transparent."> 8 <style> 9 #container { 10 position: absolute; 11 background: blue; 12 cursor: url("support/cursors/fail.png"), help; 13 } 14 #test { 15 border: solid transparent 50px; 16 cursor: crosshair; 17 } 18 </style> 19 <body> 20 <p>The test passes if, when moved over the blue box, the cursor looks like a crosshair (e.g. short line segments resembling a "+" sign).</p> 21 <div id=container><div id=test></div></div> 22 </body>