tor-browser

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

collapsing-border-model-009.xht (1448B)


      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: Bottom table border width under collapsing borders model</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#collapsing-borders" />
      7         <link rel="match" href="collapsing-border-model-003-ref.html" />
      8         <meta name="assert" content="The bottom border width of the table is half of the maximum collapsed bottom border width." />
      9         <style type="text/css">
     10             table
     11             {
     12                 background: orange;
     13                 border-collapse: collapse;
     14             }
     15             tr
     16             {
     17                 height: 1in;
     18             }
     19             td
     20             {
     21                 border-bottom: 1in solid orange;
     22                 padding: 0;
     23                 width: 50px;
     24             }
     25             #div1
     26             {
     27                 background: blue;
     28                 height: 1.5in;
     29                 width: 100px;
     30             }
     31         </style>
     32     </head>
     33     <body>
     34         <p>Test passes if the orange and blue boxes below are the same height.</p>
     35         <div id="div1">
     36             <table>
     37                 <tr>
     38                     <td></td>
     39                 </tr>
     40             </table>
     41         </div>
     42     </body>
     43 </html>