1 <!DOCTYPE html>
2 <html><head><title>CSS Basic User Interface Test: cursor on transparent borders</title>
3 <link href="mailto:florian@rivoal.net" rel="author" title="Florian Rivoal">
4 <link href="http://www.w3.org/TR/css3-ui/#cursor" rel="help">
5 <meta content="interact" name="flags">
6 <meta charset="UTF-8">
7 <meta content="The cursor property is applied over the border box, even if the border is transparent." name="assert">
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 </head><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
23 </body></html>