tor-browser

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

table-visual-layout-002.xht (1411B)


      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: Internal table elements do not have margins</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#table-layout" />
      7         <meta name="assert" content="Internal table elements do not have margins." />
      8         <style type="text/css">
      9             table
     10             {
     11                 border-spacing: 0;
     12             }
     13             colgroup, col, tbody, tr
     14             {
     15                 margin: 50px;
     16             }
     17             td
     18             {
     19                 background: black;
     20                 height: 25px;
     21                 margin: 50px;
     22                 padding: 0;
     23                 width: 25px;
     24             }
     25             #div1
     26             {
     27                 background: blue;
     28                 height: 25px;
     29                 width: 25px;
     30             }
     31         </style>
     32     </head>
     33     <body>
     34         <p>Test passes if the boxes below are the same width.</p>
     35         <table>
     36             <colgroup>
     37                 <col />
     38             </colgroup>
     39             <tbody>
     40                 <tr>
     41                     <td></td>
     42                 </tr>
     43             </tbody>
     44         </table>
     45         <div id="div1"></div>
     46     </body>
     47 </html>