tor-browser

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

border-conflict-element-002.xht (1750B)


      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 (element) - cell vs. cell - 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 cells of same border-style and width, border collapsing favors the cell furthest to the top right for 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             td
     17             {
     18                 border: 5px solid black;
     19                 direction: ltr;
     20             }
     21             .collapsing1
     22             {
     23                 border-right-color: red;
     24             }
     25             #collapsing2
     26             {
     27                 border-top-color: red;
     28             }
     29         </style>
     30     </head>
     31     <body>
     32         <p>Test passes if there is no red visible on the page.</p>
     33         <table>
     34             <tr>
     35                 <td></td>
     36                 <td></td>
     37                 <td></td>
     38             </tr>
     39             <tr>
     40                 <td></td>
     41                 <td class="collapsing1"></td>
     42                 <td class="collapsing1"></td>
     43             </tr>
     44             <tr>
     45                 <td></td>
     46                 <td id="collapsing2"></td>
     47                 <td></td>
     48             </tr>
     49         </table>
     50     </body>
     51 </html>