tor-browser

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

collapsing-border-model-005.xht (1386B)


      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: Table borders overflowing the table container</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         <meta name="assert" content="Borders that spill into a table margin can overflow that table's container." />
      8         <style type="text/css">
      9             table
     10             {
     11                 border-collapse: collapse;
     12             }
     13             td
     14             {
     15                 background: black;
     16                 height: 1em
     17             }
     18             #div1
     19             {
     20                 background: black;
     21                 width: 2em;
     22             }
     23             #cell
     24             {
     25                 border-left: 1em solid black;
     26                 border-right: 1em solid black;
     27             }
     28         </style>
     29     </head>
     30     <body>
     31         <p>Test passes if the upper-left corner of the box below is missing.</p>
     32         <div id="div1">
     33             <table>
     34                 <tr>
     35                     <td></td>
     36                 </tr>
     37                 <tr>
     38                     <td id="cell"></td>
     39                 </tr>
     40             </table>
     41         </div>
     42     </body>
     43 </html>