tor-browser

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

background-position-applies-to-003a.xht (1378B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      2 
      3 <html xmlns="http://www.w3.org/1999/xhtml">
      4 
      5  <head>
      6 
      7   <title>CSS Test: Background-position applied to elements with 'display' set to 'table-footer-group'</title>
      8 
      9   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
     10   <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties" title="14.2.1 Background properties: 'background-color', 'background-image', 'background-repeat', 'background-attachment', 'background-position', and 'background'" />
     11 
     12   <meta name="flags" content="image" />
     13   <meta name="assert" content="The 'background-position' property applies to elements with 'display' set to 'table-footer-group'." />
     14 
     15   <style type="text/css"><![CDATA[
     16   tfoot
     17   {
     18   background-image: url("support/swatch-blue.png");
     19   background-position: top right;
     20   background-repeat: no-repeat;
     21   }
     22 
     23   td {border: transparent solid 25px;}
     24   ]]></style>
     25 
     26  </head>
     27 
     28  <body>
     29 
     30   <p>Test passes if there is <strong>one and only 1 small filled blue square</strong>.</p>
     31 
     32   <table>
     33     <tfoot>
     34       <tr><td></td><td></td></tr>
     35       <tr><td></td><td></td></tr>
     36     </tfoot>
     37     <tbody>
     38       <tr><td></td><td></td></tr>
     39       <tr><td></td><td></td></tr>
     40     </tbody>
     41   </table>
     42 
     43  </body>
     44 </html>