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