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

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     1 <!DOCTYPE html>
     2 <html>
     3 <head>
     4 <meta charset="utf-8">
     5 <style type="text/css">
     6 p { margin: 5px 1em; }
     7 </style>
     8 </head>
     9 <body>
    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-<br>“special”<br>
    16   “extra”-<br>special<br>
    17   “extra”-<br>“special”<br>
    18   extra-<br>«special»<br>
    19   «extra»-<br>special<br>
    20   «extra»-<br>«special»<br>
    21   extra-<br>(special)<br>
    22   (extra)-<br>special<br>
    23   (extra)-<br>(special)
    24 </p>
    26 <!-- but not in variants such as these: -->
    27 <p>
    28   (extra-)special<br>
    29   extra(-special)
    30 </p>
    32 </body>
    33 </html>

mercurial