tor-browser

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

table-layer-transparency-006.xht (1751B)


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