tor-browser

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

border-conflict-element-021.xht (1578B)


      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: Border Conflict Resolution (by element): row group vs. row group - element with highest priority is the dominant border</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#border-conflict-resolution" />
      7         <meta name="assert" content="With adjacent elements (row group, row group) of same border-style and width, border collapsing favors the row group furthest to the top." />
      8         <style type="text/css">
      9             table
     10             {
     11                 border-collapse: collapse;
     12                 height: 2in;
     13                 width: 2in;
     14             }
     15             tbody
     16             {
     17                 border: 5px solid black;
     18             }
     19             .collapsing
     20             {
     21                 border-top: 5px solid red;
     22             }
     23         </style>
     24     </head>
     25     <body>
     26         <p>Test passes if there is no red visible on the page.</p>
     27         <table>
     28             <tbody>
     29                 <tr>
     30                     <td></td>
     31                 </tr>
     32             </tbody>
     33             <tbody class="collapsing">
     34                 <tr>
     35                     <td></td>
     36                 </tr>
     37             </tbody>
     38             <tbody class="collapsing">
     39                 <tr>
     40                     <td></td>
     41                 </tr>
     42             </tbody>
     43         </table>
     44     </body>
     45 </html>