tor-browser

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

empty-cells-inherited-001.xht (1638B)


      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: Empty-cells is inherited by default</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#propdef-empty-cells" />
      7         <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#empty-cells" />
      8         <meta name="assert" content="Empty-cells is inherited by default." />
      9         <style type="text/css">
     10             #div1
     11             {
     12                 empty-cells: hide;
     13             }
     14             table
     15             {
     16                 border-style: solid;
     17             }
     18             td
     19             {
     20                 color: white;
     21             }
     22             .empty
     23             {
     24                 background: red;
     25                 border: 1px solid red;
     26             }
     27         </style>
     28     </head>
     29     <body>
     30         <p>Test passes if there is no red visible on the page.</p>
     31         <div id="div1">
     32             <table>
     33                 <tr>
     34                     <td class="empty"></td>
     35                     <td>XXXXX</td>
     36                     <td>XXXXX</td>
     37                 </tr>
     38                 <tr>
     39                     <td>XXXXX</td>
     40                     <td class="empty"></td>
     41                     <td>XXXXX</td>
     42                 </tr>
     43                 <tr>
     44                     <td>XXXXX</td>
     45                     <td>XXXXX</td>
     46                     <td class="empty"></td>
     47                 </tr>
     48             </table>
     49         </div>
     50     </body>
     51 </html>