https://github.com/mozilla/gecko-dev
Raw File
Tip revision: 803370a48e1ecd421db5ea0bf18d5c5a24853854 authored by ffxbld on 27 October 2015, 16:04:17 UTC
Added FIREFOX_38_4_0esr_RELEASE FIREFOX_38_4_0esr_BUILD1 tag(s) for changeset d8cefc58bd1a. DONTBUILD CLOSED TREE a=release
Tip revision: 803370a
hyphens-2-ref.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style type="text/css">
p { margin: 5px 1em; }
</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-<br>“special”<br>
  “extra”-<br>special<br>
  “extra”-<br>“special”<br>
  extra-<br>«special»<br>
  «extra»-<br>special<br>
  «extra»-<br>«special»<br>
  extra-<br>(special)<br>
  (extra)-<br>special<br>
  (extra)-<br>(special)
</p>

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

</body>
</html>
back to top