tor-browser

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

collapsing-table-borders-012.xht (1421B)


      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: Part of table header group border can be specified</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/tables.html#collapsing-borders" title="17.6.2 The collapsing border model" />
     11 
     12   <meta name="assert" content="A specific side of a table header group can be specified under the collapsing border model." />
     13 
     14   <style type="text/css"><![CDATA[
     15   table {border-collapse: collapse;}
     16 
     17   td
     18   {
     19   border: black solid 1px;
     20   height: 50px;
     21   width: 50px;
     22   }
     23 
     24   thead {border-bottom: blue solid 10px;}
     25   ]]></style>
     26 
     27  </head>
     28 
     29  <body>
     30 
     31   <p>Test passes if there is a blue border across the top of the middle row of a three-by-three table. There should be no blue anywhere else.</p>
     32 
     33   <table>
     34       <thead>
     35           <tr>
     36               <td></td>
     37               <td></td>
     38               <td></td>
     39           </tr>
     40       </thead>
     41 
     42       <tfoot>
     43           <tr>
     44               <td></td>
     45               <td></td>
     46               <td></td>
     47           </tr>
     48       </tfoot>
     49 
     50       <tbody>
     51           <tr>
     52               <td></td>
     53               <td></td>
     54               <td></td>
     55           </tr>
     56       </tbody>
     57   </table>
     58 
     59  </body>
     60 </html>