empty-cells-initial-001

Initial value of empty-cells

WeasyPrint

This browser

Assertion
The initial value of empty-cells is 'show'.

Source

 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 2 <html>
 3     <head>
 4         <title>CSS Test: Initial value of empty-cells</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="flags" content="">
 9         <meta name="assert" content="The initial value of empty-cells is 'show'.">
10         <style type="text/css">
11             td
12             {
13                 color: white;
14             }
15             .empty
16             {
17                 background: green;
18                 border: 1px solid green;
19             }
20         </style>
21     </head>
22     <body>
23         <p>Test passes if there are only three boxes below.</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>