cursor-box-006

cursor on border images extending out of the border-box

WeasyPrint

This browser

Flags
interact
Assertion
The cursor property is not applied outside of the border box, even if border images do extend further out.

Source

 1 <!DOCTYPE html>
 2 <html><head><title>CSS Basic User Interface Test: cursor on border images extending out of the border-box</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 not applied outside of the border box, even if border images do extend further out." name="assert">
 8 <style>
 9 #container {
10   position: absolute;
11   padding: 50px;
12   cursor: crosshair;
13 }
14 #test{
15   border-image: linear-gradient(blue, blue);
16   border-image-outset: 50px;
17   border-image-width: 50px;
18   border-style: solid;
19   border-width: 5px;
20   border-color: white;
21   cursor: url("support/cursors/fail.png"), help;
22 }
23 </style>
24 </head><body>
25   <p>The test passes if, when moved over the blue boxes, the cursor looks like a crosshair (e.g. short line segments resembling a "+" sign).
26   The shape of the cursor when it is over white areas is not part of this test.</p>
27   <div id="container"><div id="test"></div></div>
28 
29 </body></html>