tor-browser

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

pre-wrap-align-start-003.html (864B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>CSS Text test: white-space:pre-wrap vs text-align</title>
      6 <link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com">
      7 <link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2">
      8 <meta name="assert" content="white-space at end of line must hang">
      9 <link rel="match" href="reference/pre-wrap-align-right-003-ref.html">
     10 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
     11 <style>
     12 .test {
     13  font: 20px Ahem, monospace;
     14  width: 15ch;
     15  border: 1px solid gray;
     16  padding: 5px;
     17  white-space: pre-wrap;
     18  text-align: start;
     19  unicode-bidi: bidi-override;
     20 }
     21 </style>
     22 </head>
     23 
     24 <p>The text on each line should be neatly right-aligned:</p>
     25 
     26 <div class=test dir=rtl>one two three four five
     27 six seven eight nine ten.
     28 un deux trois quatre cinq
     29 six sept huit neuf dix</div>