tor-browser

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

1127107-1a-nowrap.html (598B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4  <style>
      5    div.test {
      6      /* Author expects this to prevent wrapping, and may add
      7         "overflow:hidden;text-overflow:ellipsis" for nice effect: */
      8      white-space: nowrap;
      9 
     10      /* BUT these (combined) seem to allow wrapping: */
     11      -ms-hyphens: auto;
     12      -webkit-hyphens: auto;
     13      hyphens: auto;
     14      word-break: break-all;
     15 
     16      width: 200px;
     17      border: 1px solid black;
     18    }
     19  </style>
     20 </head>
     21 <body>
     22  <div class="test">
     23    Does this text wrap? Does this text wrap? Does this text wrap?
     24    Does this text wrap?
     25  </div>
     26 </body>
     27 </html>