tor-browser

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

1127107-2-capitalize.html (557B)


      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      text-transform: capitalize;
     12      word-break: break-all;
     13 
     14      width: 200px;
     15      border: 1px solid black;
     16    }
     17  </style>
     18 </head>
     19 <body>
     20  <div class="test">
     21    Does this text wrap? Does this text wrap? Does this text wrap?
     22    Does this text wrap?
     23  </div>
     24 </body>
     25 </html>