tor-browser

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

none-as-image-layer.htm (1609B)


      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: None counts as an image layer</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-background-image" />
      7        <meta name="assert" content="'Background-image: none' counts as an image layer but draws nothing." />
      8        <style type="text/css">
      9            div
     10            {
     11                margin: 10px;
     12                width: 250px;
     13                height: 250px;
     14                border: thick solid black;
     15            }
     16            #test
     17            {
     18                background-image: url("support/blue_color.png"), none, url("support/green_color.png");
     19                background-repeat: no-repeat, repeat, no-repeat;
     20                background-position: 30px 30px, 60px 60px, 90px 90px;
     21            }
     22            #reference
     23            {
     24                background-image: url("support/blue_color.png"), url("support/green_color.png");
     25                background-repeat: no-repeat, no-repeat;
     26                background-position: 30px 30px, 90px 90px;
     27            }
     28        </style>
     29    </head>
     30    <body>
     31        <p>Test passes if there is green on the page and contents of the black boxes look exactly the same.</p>
     32        <table>
     33            <tr>
     34                <td><div id="test"></div></td>
     35                <td><div id="reference"></div></td>
     36            </tr>
     37        </table>
     38    </body>
     39 </html>