tor-browser

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

border-conflict-style-075.xht (1974B)


      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): 'outset' vs. 'hidden' - 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 'hidden' border is the dominant border when it is collapsed with an 'outset' border." />
      8         <style type="text/css">
      9             table
     10             {
     11                 border-collapse: collapse;
     12             }
     13             td
     14             {
     15                 border: 5px outset lime;
     16                 height: 3em;
     17                 width: 3em;
     18             }
     19             #center
     20             {
     21                 border: 5px hidden red;
     22             }
     23             #top
     24             {
     25                 border-top: 5px outset red;
     26             }
     27             #left
     28             {
     29                 border-left: 5px outset red;
     30             }
     31             #bottom
     32             {
     33                 border-bottom: 5px outset red;
     34             }
     35             #right
     36             {
     37                 border-right: 5px outset red;
     38             }
     39         </style>
     40     </head>
     41     <body>
     42         <p>Test passes if the center box in the table below has no border.</p>
     43         <table>
     44             <tr>
     45                 <td>outset</td>
     46                 <td id="bottom">outset</td>
     47                 <td>outset</td>
     48             </tr>
     49             <tr>
     50                 <td id="right">outset</td>
     51                 <td id="center">hidden</td>
     52                 <td id="left">outset</td>
     53             </tr>
     54             <tr>
     55                 <td>outset</td>
     56                 <td id="top">outset</td>
     57                 <td>outset</td>
     58             </tr>
     59         </table>
     60     </body>
     61 </html>