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 and 'display: inline-block' elements</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 does not apply to 'display: inline-block' elements.">
10 <style type="text/css">
11 div div
12 {
13 caption-side: bottom;
14 display: inline;
15 }
16 </style>
17 </head>
18 <body>
19 <p>Test passes if the words "Filler Text" below are all on the same line.</p>
20 <div>
21 Filler Text
22 <div>Filler Text</div>
23 Filler Text
24 </div>
25 </body>
26 </html>