Bug 1552121 - Reftest for suppression of auto-hyphenation in words with internal capitals. r=mats

Differential Revision: https://phabricator.services.mozilla.com/D33956

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Jonathan Kew 2019-06-10 09:38:47 +00:00
Родитель 1dd81b8e87
Коммит 4ccbc22e38
3 изменённых файлов: 30 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,16 @@
<!DOCTYPE html>
<meta charset=utf-8>
<style>
div { font: 16px/24px serif; width: 8em; float: left; }
p { margin: 1em 0; }
</style>
<script>
for (const lang of ["en-US", "en"]) {
document.write("<div lang='" + lang + "'>" + lang +
":<p>in-<br>ter-<br>caps</p><p>Intercaps</p><p>interCaps</p></div>");
}
for (const lang of ["de", "de-DE", "de-1901", "de-1996"]) {
document.write("<div lang='" + lang + "'>" + lang +
":<p>in-<br>ter-<br>caps</p><p>In-<br>ter-<br>caps</p><p>interCaps</p></div>");
}
</script>

Просмотреть файл

@ -0,0 +1,12 @@
<!DOCTYPE html>
<meta charset=utf-8>
<style>
div { font: 16px/24px serif; width: 8em; float: left; }
p { hyphens: auto; width: 2em; margin: 1em 0; }
</style>
<script>
for (const lang of ["en-US", "en", "de", "de-DE", "de-1901", "de-1996"]) {
document.write("<div lang='" + lang + "'>" + lang +
":<p>intercaps</p><p>Intercaps</p><p>interCaps</p></div>");
}
</script>

Просмотреть файл

@ -319,6 +319,8 @@ pref(gfx.font_rendering.graphite.enabled,true) == glyph-decomposition-graphite.h
== auto-hyphenation-transformed-1.html auto-hyphenation-transformed-1-ref.html
== hyphenation-caps-1.html hyphenation-caps-1-ref.html
== hyphenation-control-1.html hyphenation-control-1-ref.html
== hyphenation-control-2.html hyphenation-control-2-ref.html
== hyphenation-control-3.html hyphenation-control-3-ref.html