tor-browser

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

collapsing-border-model-001.xht (1387B)


      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: Collapsing borders model row width equation (auto layout)</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-001-ref.html" />
      8         <meta name="assert" content="The user agent adheres to the collapsing border model row width equation in auto table layout." />
      9         <style type="text/css">
     10             table
     11             {
     12                 border: 25px solid red;
     13                 border-collapse: collapse;
     14             }
     15             td
     16             {
     17                 background: blue;
     18                 border: 50px solid blue;
     19                 padding: 10px;
     20                 width: 100px;
     21             }
     22             #div1
     23             {
     24                 background: orange;
     25                 height: 120px;
     26                 width: 220px;
     27             }
     28         </style>
     29     </head>
     30     <body>
     31         <p>Test passes if the orange and blue boxes below are the same width.</p>
     32         <div id="div1"></div>
     33         <table>
     34             <tr>
     35                 <td></td>
     36             </tr>
     37         </table>
     38     </body>
     39 </html>