tor-browser

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

background-position-applies-to-002a.xht (1452B)


      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-header-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   <link rel="match" href="background-position-applies-to-001a-ref.xht" />
     12 
     13   <meta name="flags" content="image" />
     14   <meta name="assert" content="The 'background-position' property applies to elements with 'display' set to 'table-header-group'." />
     15 
     16   <style type="text/css"><![CDATA[
     17   thead
     18   {
     19   background-image: url("support/swatch-blue.png");
     20   background-position: top right;
     21   background-repeat: no-repeat;
     22   }
     23 
     24   td {border: transparent solid 25px;}
     25   ]]></style>
     26 
     27  </head>
     28 
     29  <body>
     30 
     31   <p>Test passes if there is <strong>one and only 1 small filled blue square</strong>.</p>
     32 
     33   <table>
     34     <thead>
     35       <tr><td></td><td></td></tr>
     36       <tr><td></td><td></td></tr>
     37     </thead>
     38     <tbody>
     39       <tr><td></td><td></td></tr>
     40       <tr><td></td><td></td></tr>
     41     </tbody>
     42   </table>
     43 
     44  </body>
     45 </html>