tor-browser

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

empty-cells-002.xht (1398B)


      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 'hide'</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="An 'empty-cells' value of 'hide' prevents cells without content from having visible backgrounds and borders." />
      9         <style type="text/css">
     10             .empty
     11             {
     12                 background-color: red;
     13                 border: 10px solid red;
     14                 empty-cells: hide;
     15             }
     16         </style>
     17     </head>
     18     <body>
     19         <p>Test passes if there is no red visible on the page.</p>
     20         <table>
     21             <tr>
     22                 <td class="empty"></td>
     23                 <td>XXXXX</td>
     24                 <td>XXXXX</td>
     25             </tr>
     26             <tr>
     27                 <td>XXXXX</td>
     28                 <td class="empty"></td>
     29                 <td>XXXXX</td>
     30             </tr>
     31             <tr>
     32                 <td>XXXXX</td>
     33                 <td>XXXXX</td>
     34                 <td class="empty"></td>
     35             </tr>
     36         </table>
     37     </body>
     38 </html>