hyphens-2.html (637B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <style type="text/css"> 6 p { margin: 5px 1em; width: 0px; } 7 </style> 8 </head> 9 <body> 10 11 <!-- bug 827779: 12 Allow break after hyphen even when there is adjacent closing punctuation 13 before the hyphen, or opening punctuation after it. --> 14 <p> 15 extra-“special”<br> 16 “extra”-special<br> 17 “extra”-“special”<br> 18 extra-«special»<br> 19 «extra»-special<br> 20 «extra»-«special»<br> 21 extra-(special)<br> 22 (extra)-special<br> 23 (extra)-(special) 24 </p> 25 26 <!-- but not in variants such as these: --> 27 <p> 28 (extra-)special<br> 29 extra(-special) 30 </p> 31 32 </body> 33 </html>