tor-browser

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

table-visual-layout-023.xht (1489B)


      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: Positioning table cells can cause them not to be table cells anymore</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="Positioning table cells can cause them not to be table cells anymore." />
      8         <style type="text/css">
      9             table
     10             {
     11                 background: blue;
     12             }
     13             td
     14             {
     15                 background: black;
     16                 height: 2em;
     17                 width: 2em;
     18             }
     19             #positioned
     20             {
     21                 left: 200px;
     22                 position: absolute;
     23             }
     24         </style>
     25     </head>
     26     <body>
     27         <p>Test passes if the middle square of the table below is blue, and there is a single black square to the right of the table.</p>
     28         <table>
     29            <tr>
     30                 <td></td>
     31                 <td></td>
     32                 <td></td>
     33            </tr>
     34            <tr>
     35                 <td></td>
     36                 <td id="positioned"></td>
     37                 <td></td>
     38            </tr>
     39            <tr>
     40                 <td></td>
     41                 <td></td>
     42                 <td></td>
     43            </tr>
     44         </table>
     45     </body>
     46 </html>