tor-browser

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

bidi-direction-002.xht (955B)


      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 - nested ltr and rtl</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#propdef-direction"/>
      7     <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#direction"/>
      8     <meta name="assert" content="Direction on paragraph should override direction on body"/>
      9     <style type="text/css"><![CDATA[
     10       body {
     11       direction: rtl;
     12       }
     13       .lefttoright {
     14       direction: ltr;
     15       }
     16     ]]></style>
     17   </head>
     18 
     19   <body>
     20 
     21     <p>The lines below should be aligned as specified, and end with an exclamation mark</p>
     22 
     23     <p>
     24       !Right-aligned
     25     </p>
     26     <p class="lefttoright">
     27       Left-aligned!
     28     </p>
     29 
     30   </body>
     31 </html>