tor-browser

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

table-layer-transparency-004.xht (1712B)


      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: Background on a column element shows if all elements above its layer are transparent</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#table-layers" />
      7         <meta name="assert" content="A background set on a column element will show if all table element layers above it are transparent." />
      8         <style type="text/css">
      9             table
     10             {
     11                 border-collapse: collapse;
     12             }
     13             table, colgroup
     14             {
     15                 background-color: red;
     16             }
     17             col
     18             {
     19                 background-color: green;
     20             }
     21             td
     22             {
     23                 height: 2em;
     24                 width: 2em;
     25             }
     26         </style>
     27     </head>
     28     <body>
     29         <p>Test passes if there is no red visible on the page.</p>
     30         <table>
     31             <colgroup>
     32                 <col />
     33                 <col />
     34                 <col />
     35             </colgroup>
     36             <tbody>
     37                 <tr>
     38                     <td></td>
     39                     <td></td>
     40                     <td></td>
     41                 </tr>
     42                 <tr>
     43                     <td></td>
     44                     <td></td>
     45                     <td></td>
     46                 </tr>
     47                 <tr>
     48                     <td></td>
     49                     <td></td>
     50                     <td></td>
     51                 </tr>
     52             </tbody>
     53         </table>
     54     </body>
     55 </html>