tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

bidi-list-003.xht (1181B)


      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 - ordered 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 ordered lists, putting bullets  on the right and offset leftwards"/>
     10     <style type="text/css"><![CDATA[
     11       ol {direction: rtl;}
     12       ul,li {padding-left:2em;padding-right:2em;}
     13     ]]></style>
     14   </head>
     15   <body>
     16     <ol>
     17       <li>This list has three items</li>
     18       <li>And should be right-aligned</li>
     19       <li>With numbers to the right
     20     <ol>
     21       <li>This list should be indented from the right</li>
     22       <li>And should be right-aligned</li>
     23       <li>With numbers to the right</li>
     24     </ol>
     25       </li>
     26     </ol>
     27   </body>
     28 </html>