tor-browser

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

empty-cells-003.xht (1446B)


      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 set to inherit</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="A cell can inherit its empty-cells behavior from its row parent container." />
      9         <style type="text/css">
     10             tr
     11             {
     12                 empty-cells: hide;
     13             }
     14             .empty
     15             {
     16                 background-color: red;
     17                 border: 10px solid red;
     18                 empty-cells: inherit;
     19             }
     20         </style>
     21     </head>
     22     <body>
     23         <p>Test passes if there is no red visible on the page.</p>
     24         <table>
     25             <tr>
     26                 <td class="empty"></td>
     27                 <td>XXXXX</td>
     28                 <td>XXXXX</td>
     29             </tr>
     30             <tr>
     31                 <td>XXXXX</td>
     32                 <td class="empty"></td>
     33                 <td>XXXXX</td>
     34             </tr>
     35             <tr>
     36                 <td>XXXXX</td>
     37                 <td>XXXXX</td>
     38                 <td class="empty"></td>
     39             </tr>
     40         </table>
     41     </body>
     42 </html>