tor-browser

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

border-conflict-element-008.xht (1704B)


      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): cell vs. column - 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 (cell, column) of same border-style and width, border collapsing favors the cell." />
      8         <style type="text/css">
      9             table
     10             {
     11                 border-collapse: collapse;
     12                 height: 2in;
     13                 width: 2in;
     14             }
     15             col
     16             {
     17                 border-bottom: 5px solid black;
     18                 border-top: 5px solid black;
     19             }
     20             #collapsing1
     21             {
     22                 border-left: 5px solid black;
     23                 border-right: 5px solid red;
     24             }
     25             #collapsing2
     26             {
     27                 border-left: 5px solid red;
     28                 border-right: 5px solid black;
     29             }
     30             #test
     31             {
     32                 border: 5px solid black;
     33             }
     34         </style>
     35     </head>
     36     <body>
     37         <p>Test passes if there is no red visible on the page.</p>
     38         <table>
     39             <col id="collapsing1" />
     40             <col />
     41             <col id="collapsing2" />
     42             <tr>
     43                 <td></td>
     44                 <td id="test"></td>
     45                 <td></td>
     46             </tr>
     47         </table>
     48     </body>
     49 </html>