layout/reftests/line-breaking/hyphens-2.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/line-breaking/hyphens-2.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,33 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html>
     1.6 +<head>
     1.7 +<meta charset="utf-8">
     1.8 +<style type="text/css">
     1.9 +p { margin: 5px 1em; width: 0px; }
    1.10 +</style>
    1.11 +</head>
    1.12 +<body>
    1.13 +
    1.14 +<!-- bug 827779:
    1.15 +     Allow break after hyphen even when there is adjacent closing punctuation
    1.16 +     before the hyphen, or opening punctuation after it. -->
    1.17 +<p>
    1.18 +  extra-“special”<br>
    1.19 +  “extra”-special<br>
    1.20 +  “extra”-“special”<br>
    1.21 +  extra-«special»<br>
    1.22 +  «extra»-special<br>
    1.23 +  «extra»-«special»<br>
    1.24 +  extra-(special)<br>
    1.25 +  (extra)-special<br>
    1.26 +  (extra)-(special)
    1.27 +</p>
    1.28 +
    1.29 +<!-- but not in variants such as these: -->
    1.30 +<p>
    1.31 +  (extra-)special<br>
    1.32 +  extra(-special)
    1.33 +</p>
    1.34 +
    1.35 +</body>
    1.36 +</html>

mercurial