tor-browser

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

text-indent-rtl-001.xht (1449B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      2 <html xmlns="http://www.w3.org/1999/xhtml">
      3     <head>
      4         <title>CSS Test: Text-indent with 'direction' set to 'rtl'</title>
      5         <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
      6         <link rel="help" href="http://www.w3.org/TR/CSS21/text.html#indentation-prop" />
      7         <link rel="help" href="https://drafts.csswg.org/css-text-3/#text-indent-property"/>
      8         <link rel="match" href="text-indent-rtl-001-ref.xht"/>
      9         <meta name="flags" content="ahem" />
     10         <meta name="assert" content="The 'text-indent' property on an element with 'direction: rtl' indents from the right instead of left." />
     11         <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     12         <style type="text/css">
     13             #div1
     14             {
     15                 direction: rtl;
     16                 font-family: Ahem;
     17                 line-height: 1em;
     18                 text-indent: 5em;
     19             }
     20             #div2
     21             {
     22                 background: blue;
     23                 height: 1em;
     24                 float: right;
     25                 margin-right: 5em;
     26                 width: 5em;
     27             }
     28         </style>
     29     </head>
     30     <body>
     31         <p>Test passes if the black box below is directly above the blue box.</p>
     32         <div id="div1">XXXXX</div>
     33         <div id="div2"></div>
     34     </body>
     35 </html>