tor-browser

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

text-align-bidi-003.xht (1007B)


      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 and direction - nested rtl, center and ltr</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#propdef-direction"/>
      8     <link rel="help" href="https://drafts.csswg.org/css-text-3/#text-align-property"/>
      9     <meta name="assert" content="Text-align property should override the default text-align change caused by a switch of direction"/>
     10     <style type="text/css"><![CDATA[
     11       body {direction: rtl;}
     12       div {text-align: center;}
     13       p {direction: ltr;}
     14     ]]></style>
     15   </head>
     16   <body>
     17     <div>
     18       <p>
     19 	This text should be centered horizontally on the page
     20       </p>
     21     </div>
     22   </body>
     23 </html>