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: list-item' 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: list-item' elements.">
10 <style type="text/css">
11 div
12 {
13 margin-left: 2em;
14 }
15 span
16 {
17 background: orange;
18 caption-side: bottom;
19 display: list-item;
20 }
21 </style>
22 </head>
23 <body>
24 <p>Test passes if there are three lines of "Filler Text" below and if the middle "Filler Text" has a orange background and a marker bullet on its left-hand side. The marker bullet should not have an orange background.</p>
25 <div>
26 Filler Text
27 <span>Filler Text</span>
28 Filler Text
29 </div>
30 </body>
31 </html>