tor-browser

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

bidi-list-007.xht (1300B)


      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: center 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: center should apply to unordered lists in rtl context without affecting their rtlness"/>
     10     <style type="text/css"><![CDATA[
     11       html {direction:rtl;}
     12       div {width: 14em; border: 1px solid black;}
     13       li {text-align: center;}
     14       ul,li {padding-left:2em;padding-right:2em;}
     15     ]]></style>
     16   </head>
     17 
     18   <body>
     19 
     20     <p>The list should have a bullet to the right of each item, and the text in each item should be centered</p>
     21 
     22       <ul>
     23 	<li>This is the first of three items that are centered</li>
     24 	<li>And this is the second of the three items that are centered</li>
     25 	<li>And this is the third and last of the three items</li>
     26       </ul>
     27   </body>
     28 </html>