bidi-list-006.xht (1094B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title>CSS Test: text-align: right and direction:rtl - unordered list</title> 5 <link rel="author" title="Eira Monstad, Opera Software ASA" href="mailto:public-testsuites@opera.com"/> 6 <link rel="help" href="http://www.w3.org/TR/CSS21/text.html#alignment-prop" /> 7 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#direction"/> 8 <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#list-style"/> 9 <meta name="assert" content="text-align:right should be applied to unordered list in rtl context without affecting its rtlness"/> 10 <style type="text/css"><![CDATA[ 11 html {direction: rtl;} 12 li {text-align: right;} 13 ul,li {padding-left:2em;padding-right:2em;} 14 ]]></style> 15 </head> 16 17 <body> 18 19 <p>The list should be right-aligned and have a bullet to the right of each item</p> 20 21 <ul> 22 <li>First</li> 23 <li>Second</li> 24 <li>Third</li> 25 </ul> 26 27 </body> 28 </html>