cursor-padding-area

cursor on the padding area

WeasyPrint

This browser

Flags
interact
Assertion
The cursor property is applied over the padding area, as it is strictly inside the border edge.

Source

 1 <!DOCTYPE html>
 2 <html><head><title>CSS Basic User Interface Test: cursor on the padding area</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 padding area, as it is strictly inside the border edge." name="assert">
 8 <style>
 9 div {
10   background: blue;
11   padding: 50px;
12   cursor: crosshair;
13 }
14 </style>
15 </head><body>
16   <p>The test passes if, when moved inside the blue rectangle, the cursor looks like a crosshair (e.g. short line segments resembling a "+" sign).</p>
17   <div></div>
18 
19 </body></html>