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: Caption-side 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-caption-side">
7 <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#caption-position">
8 <meta name="flags" content="">
9 <meta name="assert" content="Caption-side is inherited by default.">
10 <style type="text/css">
11 #div1
12 {
13 caption-side: bottom;
14 }
15 table
16 {
17 background: blue;
18 }
19 td
20 {
21 height: 1in;
22 width: 2in;
23 }
24 </style>
25 </head>
26 <body>
27 <p>Test passes if the word "BELOW" is below the box.</p>
28 <div id="div1">
29 <table>
30 <caption>BELOW</caption>
31 <tr>
32 <td></td>
33 </tr>
34 </table>
35 </div>
36 </body>
37 </html>