tor-browser

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

text-align-justifyall-001.html (1156B)


      1 <!DOCTYPE html>
      2 <html lang="en">
      3 <head>
      4 <meta charset="utf-8">
      5 <title>text-align: justify-all, direction: rtl</title>
      6 <link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
      7 <link rel='help' href='https://drafts.csswg.org/css-text-3/#text-align-property'>
      8 <link rel='match' href='reference/text-align-justifyall-ref-001.html'>
      9 <meta name="assert" content="text-align:justify-all aligns text in order to exactly fill the line box, forcing the last line to justify as well.">
     10 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
     11 <style type='text/css'>
     12 .test { text-align: justify-all; direction: rtl; }
     13 /* the CSS below is not part of the test */
     14 .test, .ref { border: 1px solid orange; margin: 20px; width: 510px; color: orange; font: 30px/1 Ahem; }
     15 .ref { word-spacing: 20px; }
     16 .last-line { word-spacing: 90px; }
     17 </style>
     18 </head>
     19 <body>
     20 <div id='instructions'>Test passes if the shading in both orange boxes is identical.</div>
     21 <div class="test">TES TES TES TES TES TES TES TES TES TES TES </div>
     22 <div class="ref"><div>REF REF REF REF</div><div>REF REF REF REF</div><div class="last-line">REF REF REF </div></div>
     23 </body>
     24 </html>