tor-browser

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

border-conflict-element-038.xht (1983B)


      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. column group - element with highest priority is the dominant border (rtl table)</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 (column group, column group) of same border-style and width, border collapsing favors the column group farthest to the right in a 'right-to-left' table." />
      8         <style type="text/css">
      9             table
     10             {
     11                 border-collapse: collapse;
     12                 direction: rtl;
     13                 height: 2in;
     14                 width: 2in;
     15             }
     16             colgroup
     17             {
     18                 border-bottom: 5px solid black;
     19                 border-top: 5px solid black;
     20             }
     21             #winning
     22             {
     23                 border-left: 5px solid black;
     24                 border-right: 5px solid black;
     25             }
     26             .collapsing
     27             {
     28                 border-left: 5px solid black;
     29                 border-right: 5px solid red;
     30             }
     31             td
     32             {
     33                 direction: ltr;
     34             }
     35         </style>
     36     </head>
     37     <body>
     38         <p>Test passes if there is no red visible on the page.</p>
     39         <table>
     40             <colgroup id="winning">
     41                 <col />
     42             </colgroup>
     43             <colgroup class="collapsing">
     44                 <col />
     45             </colgroup>
     46             <colgroup class="collapsing">
     47                 <col />
     48             </colgroup>
     49             <tr>
     50                 <td></td>
     51                 <td></td>
     52                 <td></td>
     53             </tr>
     54         </table>
     55     </body>
     56 </html>