tor-browser

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

conservative-range-1.html (1101B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset=utf-8>
      5 <title>Bug 809020</title>
      6 <style>
      7 p { 
      8  font-family: monospace;
      9  margin: .5em 0;
     10  width:0;
     11 }
     12 .break {
     13  color: green;
     14 }
     15 .nobreak {
     16  color: red;
     17 }
     18 </style>
     19 </head>
     20 <body>
     21 The green examples should break at all their hyphens; the red ones should not.
     22 <p class="break">
     23 tally-ho
     24 </p>
     25 <p class="break">
     26 co-author
     27 </p>
     28 <p class="break">
     29 hi-de-hi
     30 </p>
     31 <p class="break">
     32 far-sighted
     33 </p>
     34 <p class="break">
     35 hocus-pocus
     36 </p>
     37 <p class="break">
     38 Nanki-Poo
     39 </p>
     40 <p class="break">
     41 Miami-Dade
     42 </p>
     43 <p class="break">
     44 Wells-next-the-Sea
     45 </p>
     46 <p class="break">
     47 Lee-on-the-Solent
     48 </p>
     49 <p class="nobreak">
     50 \\/^-_-^\//
     51 </p>
     52 <p class="nobreak">
     53 (''')-.-(''')
     54 <p class="nobreak">
     55 :-"&gt;
     56 <p class="nobreak">
     57 &lt;{^-^}&gt;
     58 </p>
     59 <p class="nobreak">
     60 :-D
     61 </p>
     62 <!-- these break due to "emergency" overflow wrapping -->
     63 <p class="break">
     64 T-shirt
     65 </p>
     66 <p class="break">
     67 billy-o
     68 </p>
     69 <!-- but here the emergency wrap is not forced -->
     70 <p class="nobreak" style="width:17ch">
     71 Supersized T-shirt
     72 </p>
     73 <p class="nobreak" style="width:17ch">
     74 Going like billy-o
     75 </p>
     76 </body>
     77 </html>