tor-browser

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

border-conflict-element-039.xht (1258B)


      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): column group vs. table - 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 embedded elements (column group, table) of same border-style and width, border collapsing favors the column group." />
      8         <style type="text/css">
      9             table
     10             {
     11                 border: 5px solid red;
     12                 border-collapse: collapse;
     13                 height: 2in;
     14                 width: 2in;
     15             }
     16             colgroup
     17             {
     18                 border: 5px solid black;
     19             }
     20         </style>
     21     </head>
     22     <body>
     23         <p>Test passes if there is no red visible on the page.</p>
     24         <table>
     25             <colgroup>
     26                 <col />
     27             </colgroup>
     28             <tr>
     29                 <td></td>
     30             </tr>
     31         </table>
     32     </body>
     33 </html>