tor-browser

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

text-align-bidi-013.xht (1396B)


      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-align and bidi</title>
      5   <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
      6   <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/text/align/003.html" type="text/html"/>
      7   <link rel="help" href="http://www.w3.org/TR/CSS21/text.html#alignment-prop" />
      8   <link rel="help" href="https://drafts.csswg.org/css-text-3/#text-align-property"/>
      9   <style type="text/css">
     10    p { color: blue; }
     11    .test { margin: 1em; border: solid; width: 15em; font: 2em/1 monospace; text-align: justify; direction: rtl; }
     12   </style>
     13  </head>
     14  <body>
     15   <p>The text below should be justified to fit in the box (straight edges on all sides).</p>
     16   <div class="test">
     17    &#x05D0;
     18    &#x05D0;
     19    X
     20    &#x05D0;&#x05D0;
     21    &#x05D0;&#x05D0;&#x05D0;&#x05D0;
     22    XX
     23    &#x05D0;
     24    &#x05D0;
     25    X
     26 
     27    XX
     28    &#x05D0;&#x05D0;
     29    XXX
     30    &#x05D0;&#x05D0;&#x05D0;
     31    &#x05D0;&#x05D0;&#x05D0;
     32    &#x05D0;&#x05D0;
     33    XX
     34 
     35    &#x05D0;&#x05D0;&#x05D0;
     36    &#x05D0;&#x05D0;&#x05D0;
     37    XXXX
     38    &#x05D0;&#x05D0;&#x05D0;&#x05D0;
     39    XXX
     40    &#x05D0;&#x05D0;&#x05D0;
     41 
     42    XXXX
     43    &#x05D0;&#x05D0;&#x05D0;&#x05D0;
     44    &#x05D0;&#x05D0;
     45    XX
     46    &#x05D0;&#x05D0;&#x05D0;&#x05D0;
     47    &#x05D0;&#x05D1;&#x05D2;&#x05D3;
     48   </div>
     49  </body>
     50 </html>