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: 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: block' elements.">
10 <style type="text/css">
11 span
12 {
13 background: blue;
14 caption-side: bottom;
15 display: block;
16 }
17 </style>
18 </head>
19 <body>
20 <p>Test passes if there are three lines of "Filler Text" below and the middle line has a blue background.</p>
21 <div>
22 Filler Text
23 <span>Filler Text</span>
24 Filler Text
25 </div>
26 </body>
27 </html>