bidi-list-002.xht (1177B)
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: direction:rtl - nested 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/visuren.html#direction"/> 7 <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#list-style"/> 8 <link rel="help" href="http://www.w3.org/TR/CSS21/text.html#alignment-prop" /> 9 <meta name="assert" content="direction:rtl should apply to nested unordered lists, putting bullets on the right and offset leftwards"/> 10 <style type="text/css"><![CDATA[ 11 ul {direction: rtl;} 12 ul,li {padding-left:2em;padding-right:2em;} 13 ]]></style> 14 </head> 15 16 <body> 17 <ul> 18 <li>This list has three items</li> 19 <li>And should be right-aligned</li> 20 <li>With bullets to the right 21 <ul> 22 <li>This list should be indented from the right</li> 23 <li>And should be right-aligned</li> 24 <li>With bullets to the right</li> 25 </ul> 26 </li> 27 </ul> 28 </body> 29 </html>