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: outside list-item marker position in BIDI</title>
5 <link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact">
6 <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#list-style">
7 <meta name="flags" content="">
8 <meta name="assert" content="The list-item marker is on the right side for an RTL item and on the left side for an LTR one.">
9 <style type="text/css">
10 ul {
11 margin: 0;
12 padding: 0;
13 }
14 .li {
15 display: list-item;
16 }
17 li, .li {
18 list-style: outside circle;
19 border: solid thin blue;
20 margin: 0.5em 4em;
21 padding: 0;
22 }
23 </style>
24 </head>
25 <body>
26 <ul dir="rtl">
27 <li dir="ltr">There must be a circle to the left of this box.</li>
28 </ul>
29 <ul dir="ltr">
30 <li dir="rtl"><span dir="ltr">There must be a circle to the right of this box.</span></li>
31 </ul>
32 <div dir="rtl">
33 <div class="li" dir="ltr">There must be a circle to the left of this box.</div>
34 </div>
35 <div dir="ltr">
36 <div class="li" dir="rtl"><span dir="ltr">There must be a circle to the right of this box.</span></div>
37 </div>
38 </body>
39 </html>