tor-browser

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

white-space-pre-wrap-justify-003-ref.html (533B)


      1 <!doctype html>
      2 <meta charset=utf-8>
      3 <title>CSS Text reference</title>
      4 
      5 <style>
      6 div {
      7  border: 1px solid gray;
      8  font: 22px monospace;
      9  width: 22ch;
     10  margin: 1em;
     11 }
     12 .ref {
     13  white-space: normal;
     14  text-align: justify;
     15 }
     16 </style>
     17 
     18 <p>Test passes if the two blocks are rendered identically</p>
     19 
     20 <div class=ref>one two&nbsp; three<br>&nbsp; &nbsp;four&nbsp; five&nbsp; six seven &nbsp; eight &nbsp; nine ten</div>
     21 
     22 <div class=ref>one two&nbsp; three<br>&nbsp; &nbsp;four&nbsp; five&nbsp; six seven &nbsp; eight &nbsp; nine ten</div>