tor-browser

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

box-shadow-002.htm (1214B)


      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 values for spread distance</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="assert" content="Positive values of the spread distance cause the shadow to grow in all directions by the specified distance." />
      8        <style type="text/css">
      9            #reference
     10            {
     11                width: 120px;
     12                height: 120px;
     13                margin-left: 40px;
     14                margin-top: 10px;
     15                background: red;
     16            }
     17            #test
     18            {
     19                width: 100px;
     20                height: 100px;
     21                background: black;
     22                box-shadow: 50px 10px 0 10px;
     23                margin-top: -120px;
     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"></div>
     30        <div id="test"></div>
     31    </body>
     32 </html>