tor-browser

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

table-layer-transparency-002.xht (1655B)


      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 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 column 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
     15             {
     16                 background: green;
     17             }
     18             td
     19             {
     20                 height: 2em;
     21                 width: 2em;
     22             }
     23         </style>
     24     </head>
     25     <body>
     26         <p>Test passes if there is no red visible on the page.</p>
     27         <table>
     28             <colgroup>
     29                 <col />
     30                 <col />
     31                 <col />
     32             </colgroup>
     33             <tbody>
     34                <tr>
     35                     <td></td>
     36                     <td></td>
     37                     <td></td>
     38                </tr>
     39                <tr>
     40                     <td></td>
     41                     <td></td>
     42                     <td></td>
     43                </tr>
     44                <tr>
     45                     <td></td>
     46                     <td></td>
     47                     <td></td>
     48                </tr>
     49             </tbody>
     50         </table>
     51     </body>
     52 </html>