mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 17:25:36 +00:00
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:
parent
1dd81b8e87
commit
4ccbc22e38
16
layout/reftests/text/hyphenation-caps-1-ref.html
Normal file
16
layout/reftests/text/hyphenation-caps-1-ref.html
Normal file
@ -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>
|
12
layout/reftests/text/hyphenation-caps-1.html
Normal file
12
layout/reftests/text/hyphenation-caps-1.html
Normal file
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user