tor-browser

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

column-border-001.xht (1742B)


      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: Column border property</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#columns" />
      7         <meta name="assert" content="A border can be set on a table column." />
      8         <style type="text/css">
      9             .table
     10             {
     11                 background: black;
     12                 border-collapse: collapse;
     13                 display: table;
     14             }
     15             .column
     16             {
     17                 border: 5px dotted green;
     18                 display: table-column;
     19             }
     20             .tr
     21             {
     22                 display: table-row;
     23             }
     24             .td
     25             {
     26                 display: table-cell;
     27                 height: 0.25in;
     28                 width: 0.5in;
     29             }
     30         </style>
     31     </head>
     32     <body>
     33         <p>Test passes if the left half of the black box below has green dotted border.</p>
     34         <div class="table">
     35             <div class="column"></div>
     36             <div class="tr">
     37                 <div class="td"></div>
     38                 <div class="td"></div>
     39             </div>
     40             <div class="tr">
     41                 <div class="td"></div>
     42                 <div class="td"></div>
     43             </div>
     44             <div class="tr">
     45                 <div class="td"></div>
     46                 <div class="td"></div>
     47             </div>
     48             <div class="tr">
     49                 <div class="td"></div>
     50                 <div class="td"></div>
     51             </div>
     52         </div>
     53     </body>
     54 </html>