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