tor-browser

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

table-layout-property-001.xht (1198B)


      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: A table doesn't size to fit its container when margins are zero and width is 'auto'</title>
      5         <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
      6         <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#width-layout" />
      7         <meta name="assert" content="When table margins are zero and width is 'auto', the table doesn't automatically size to fill its containing block ." />
      8         <style type="text/css">
      9             div
     10             {
     11                 background: blue;
     12                 width: 300px;
     13             }
     14             table
     15             {
     16                 background: black;
     17                 margin: 0;
     18                 width: auto;
     19             }
     20         </style>
     21     </head>
     22     <body>
     23         <p>Test passes if there is a black box below is adjacent to a blue box.</p>
     24         <div>
     25             <table>
     26                 <tr>
     27                     <td>Filler Text Filler Text</td>
     28                 </tr>
     29              </table>
     30           </div>
     31     </body>
     32  </html>