tor-browser

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

box-shadow-001.htm (1246B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      2 <html xmlns="http://www.w3.org/1999/xhtml">
      3    <head>
      4        <title>CSS Test: Positive value of horizontal offset</title>
      5        <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
      6        <link rel="help" href="http://www.w3.org/TR/css3-background/#the-box-shadow" />
      7        <meta name="flags" content="internal" />
      8        <meta name="assert" content="A positive value for the horizontal offset of the 'box-shadow' draws a shadow that is offset to the right of the box." />
      9        <style type="text/css">
     10            #reference
     11            {
     12                width: 2in;
     13                height: 1in;
     14                background: red;
     15                border: thin solid black;
     16            }
     17            div div
     18            {
     19                width: 1in;
     20                height: 1in;
     21                border: thin solid black;
     22                background: white;
     23                box-shadow: black 96px 0px;
     24            }
     25        </style>
     26    </head>
     27    <body>
     28        <p>Test passes if there is no red visible on the page.</p>
     29        <div id="reference">
     30            <div></div>
     31        </div>
     32    </body>
     33 </html>