https://github.com/mozilla/gecko-dev
Raw File
Tip revision: c2d9f4e3b437d0a51643aa1cd6839635db93244b authored by ffxbld on 17 December 2015, 01:51:32 UTC
Added FIREFOX_43_0_1_RELEASE FIREFOX_43_0_1_BUILD1 tag(s) for changeset e8bb3550be0f. DONTBUILD CLOSED TREE a=release
Tip revision: c2d9f4e
hyphens-2.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style type="text/css">
p { margin: 5px 1em; width: 0px; }
</style>
</head>
<body>

<!-- bug 827779:
     Allow break after hyphen even when there is adjacent closing punctuation
     before the hyphen, or opening punctuation after it. -->
<p>
  extra-“special”<br>
  “extra”-special<br>
  “extra”-“special”<br>
  extra-«special»<br>
  «extra»-special<br>
  «extra»-«special»<br>
  extra-(special)<br>
  (extra)-special<br>
  (extra)-(special)
</p>

<!-- but not in variants such as these: -->
<p>
  (extra-)special<br>
  extra(-special)
</p>

</body>
</html>
back to top