tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

cursor-box-006.html (1061B)


      1 <!DOCTYPE html>
      2 <title>CSS Basic User Interface Test: cursor on border images extending out of the border-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 outside of the border box, even if border images do extend further out.">
      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 <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 </body>