tor-browser

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

background-repeat-space.xht (1676B)


      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: background-repeat:space</title>
      5     <link rel="author" title="Jeffrey Carl Faden" href="http://www.jeffreyatw.com/" />
      6     <link rel="match" href="reference/background-repeat-space.xht"/>
      7     <link rel="help" href="http://www.w3.org/TR/css3-background/#the-background-repeat" />
      8     <meta name="flags" content="image" />
      9     <meta name="assert" content="The 'background-repeat: space' declaration must space out images in one or more dimensions so they fit a whole number of times in the background positioning area. The first and last images in each row and column must sit along edge(s) of the background positioning area." />
     10     <meta name="fuzzy" content="maxDifference=0-53; totalPixels=0-5532" />
     11     <style type="text/css">
     12       <![CDATA[
     13       div {
     14         background-color: grey;
     15         background-image: url("support/rectangle-96x60.png");
     16         background-repeat: space;
     17         height: 204px;
     18         width: 236px;
     19       }
     20       ]]>
     21     </style>
     22   </head>
     23   <body>
     24     <p><img src="support/rectangle-96x60.png" alt="Image download support must be enabled"/></p>
     25     <p>Test passes if the above image repeats in the below grey rectangle 6 times exactly: 2 columns, 3 rows. The images should appear at exactly the same size as the image above and be sitting at the edges of the grey rectangle.</p>
     26     <p>Test fails if the above image repeats in the below rectangle more than 6 times, with partial images lining the right and the bottom.</p>
     27     <div></div>
     28   </body>
     29 </html>