tor-browser

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

border-conflict-element-vrl-012.xht (3340B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      2 
      3 <html xmlns="http://www.w3.org/1999/xhtml">
      4 
      5  <head>
      6 
      7   <title>CSS Writing Modes Test: Border conflict resolution - cell wins over row, cell wins over rowgroup and cell wins over table (compound)</title>
      8 
      9   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
     10   <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#logical-directions" title="6.2 Flow-relative Directions" />
     11   <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#border-conflict-resolution" title="17.6.2.1 Border conflict resolution" />
     12   <link rel="match" href="../reference/ref-filled-green-100px-square.xht" />
     13 
     14   <meta content="This test checks that, in border-collapsing model, when 'border-style' values and 'border-width' values are identical, then the 'border-color' set on a cell wins over the 'border-color' set on a row (5th table), the 'border-color' set on a cell wins over the 'border-color' set on a row group (tfoot in 4th table, thead in 3rd table, tbody in 2nd table) and the 'border-color' set on a cell wins over the 'border-color' set on a table element (1st table)." name="assert" />
     15 
     16   <style type="text/css"><![CDATA[
     17   table
     18     {
     19       border-collapse: collapse;
     20       direction: ltr;
     21       height: 20px;
     22       writing-mode: vertical-rl;
     23     }
     24 
     25   td
     26     {
     27       padding: 0px;
     28     }
     29 
     30 
     31 
     32   table#first
     33     {
     34       border-right: red solid 100px;
     35     }
     36 
     37   table#first td
     38     {
     39       border-right: green solid 100px;
     40     }
     41 
     42 
     43 
     44   table#second > tbody
     45     {
     46       border-right: red solid 100px;
     47     }
     48 
     49   table#second td
     50     {
     51       border-right: green solid 100px;
     52     }
     53 
     54 
     55 
     56   table#third > thead
     57     {
     58       border-right: red solid 100px;
     59     }
     60 
     61   table#third td
     62     {
     63       border-right: green solid 100px;
     64     }
     65 
     66 
     67 
     68   table#fourth > tfoot
     69     {
     70       border-right: red solid 100px;
     71     }
     72 
     73   table#fourth td
     74     {
     75       border-right: green solid 100px;
     76     }
     77 
     78 
     79 
     80   table#fifth tr
     81     {
     82       border-right: red solid 100px;
     83     }
     84 
     85   table#fifth td
     86     {
     87       border-right: green solid 100px;
     88     }
     89 
     90   div#reference-overlapped-red
     91     {
     92       background-color: red;
     93       bottom: 100px;
     94       height: 100px;
     95       position: relative;
     96       width: 100px;
     97       z-index: -1;
     98     }
     99   ]]></style>
    100 
    101  </head>
    102 
    103  <body>
    104 
    105   <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
    106 
    107   <table id="first">
    108 
    109   <colgroup><col></col><col></col></colgroup>
    110 
    111     <tbody>
    112 
    113       <tr>
    114         <td></td> <td></td>
    115       </tr>
    116 
    117     </tbody>
    118 
    119   </table>
    120 
    121 
    122   <table id="second">
    123 
    124   <colgroup><col></col><col></col></colgroup>
    125 
    126     <tbody>
    127 
    128       <tr>
    129         <td></td> <td></td>
    130       </tr>
    131 
    132     </tbody>
    133 
    134   </table>
    135 
    136 
    137   <table id="third">
    138 
    139   <colgroup><col></col><col></col></colgroup>
    140 
    141     <thead>
    142 
    143       <tr>
    144         <td></td> <td></td>
    145       </tr>
    146 
    147     </thead>
    148 
    149   </table>
    150 
    151 
    152   <table id="fourth">
    153 
    154   <colgroup><col></col><col></col></colgroup>
    155 
    156     <tfoot>
    157 
    158       <tr>
    159         <td></td> <td></td>
    160       </tr>
    161 
    162     </tfoot>
    163 
    164   </table>
    165 
    166 
    167 
    168   <table id="fifth">
    169 
    170   <colgroup><col></col><col></col></colgroup>
    171 
    172     <tbody>
    173 
    174       <tr>
    175         <td></td> <td></td>
    176       </tr>
    177 
    178     </tbody>
    179 
    180   </table>
    181 
    182 
    183   <div id="reference-overlapped-red"></div>
    184 
    185  </body>
    186 </html>