tor-browser

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

border-conflict-style-038.xht (2209B)


      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): 'groove' vs. 'outset' - 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 'outset' border is the dominant border when it is collapsed with a 'groove' border of the same size." />
      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 groove lime;
     20                 height: 3em;
     21                 width: 3em;
     22             }
     23             #center, #table1 td
     24             {
     25                 border: 5px outset lime;
     26             }
     27             #top
     28             {
     29                 border-top: 5px groove red;
     30             }
     31             #left
     32             {
     33                 border-left: 5px groove red;
     34             }
     35             #bottom
     36             {
     37                 border-bottom: 5px groove red;
     38             }
     39             #right
     40             {
     41                 border-right: 5px groove red;
     42             }
     43         </style>
     44     </head>
     45     <body>
     46         <p>Test passes if the center box in the table below has a border similar to this:</p>
     47         <table id="table1">
     48             <tr>
     49                 <td></td>
     50             </tr>
     51         </table>
     52         <table>
     53             <tr>
     54                 <td>groove</td>
     55                 <td id="bottom">groove</td>
     56                 <td>groove</td>
     57             </tr>
     58             <tr>
     59                 <td id="right">groove</td>
     60                 <td id="center">outset</td>
     61                 <td id="left">groove</td>
     62             </tr>
     63             <tr>
     64                 <td>groove</td>
     65                 <td id="top">groove</td>
     66                 <td>groove</td>
     67             </tr>
     68         </table>
     69     </body>
     70 </html>