tor-browser

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

border-conflict-style-007.xht (1761B)


      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 border style): 'dashed' vs. 'none' - border with highest priority border style should dominate</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="The 'dashed' border is the dominant border when it is collapsed with a 'none' border." />
      8         <style type="text/css">
      9             #table1
     10             {
     11                 margin-bottom: 20px;
     12             }
     13             table
     14             {
     15                 border-collapse: collapse;
     16             }
     17             td
     18             {
     19                 border: 5px dashed lime;
     20                 height: 3em;
     21                 width: 3em;
     22             }
     23             #center
     24             {
     25                 border: 5px none red;
     26             }
     27         </style>
     28     </head>
     29     <body>
     30         <p>Test passes if the center box in the table below has a border similar to this:</p>
     31         <table id="table1">
     32             <tr>
     33                 <td></td>
     34             </tr>
     35         </table>
     36         <table>
     37             <tr>
     38                 <td>dashed</td>
     39                 <td>dashed</td>
     40                 <td>dashed</td>
     41             </tr>
     42             <tr>
     43                 <td>dashed</td>
     44                 <td id="center">none</td>
     45                 <td>dashed</td>
     46             </tr>
     47             <tr>
     48                 <td>dashed</td>
     49                 <td>dashed</td>
     50                 <td>dashed</td>
     51             </tr>
     52         </table>
     53     </body>
     54 </html>