cursor-box-004.html (756B)
1 <!DOCTYPE html> 2 <title>CSS Basic User Interface Test: cursor on the margin-box</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 not applied over the margin box."> 8 <style> 9 #container { 10 position: absolute; 11 background: blue; 12 cursor: crosshair; 13 } 14 #test { 15 margin: 100px 50px; 16 cursor: url("support/cursors/fail.png"), help; 17 } 18 </style> 19 <body> 20 <p>The test passes if, when moved inside 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>