tor-browser

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

background_properties_greater_than_images.htm (1908B)


      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: Number of background properties greater than number of background images</title>
      5        <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
      6        <link rel="help" href="http://www.w3.org/TR/css3-background/#layering" />
      7        <meta name="assert" content="If the background properties values are greater than the number of background images, then the excess values are ignored." />
      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/aqua_color.png"), url("support/orange_color.png"), url("support/green_color.png");
     19                background-position: right bottom, right top, left bottom, left center, right center;
     20                background-repeat: no-repeat, no-repeat, repeat-x, repeat, repeat-y;
     21            }
     22            #reference
     23            {
     24                background-image: url("support/aqua_color.png"), url("support/orange_color.png"), url("support/green_color.png");
     25                background-position: right bottom, right top, left bottom;
     26                background-repeat: no-repeat, no-repeat, repeat-x;
     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>
     35                    <div id="test"></div>
     36                </td>
     37                <td>
     38                    <div id="reference"></div>
     39                </td>
     40            </tr>
     41        </table>
     42    </body>
     43 </html>