Bug 1478574 - Reftest for interaction of explicit hyphen and auto-hyphenation in the same word. r=dbaron

This commit is contained in:
Jonathan Kew 2018-07-28 09:22:44 +01:00
Родитель 0cedb9ad97
Коммит 0760fbe9f0
3 изменённых файлов: 45 добавлений и 0 удалений

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

@ -0,0 +1,22 @@
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<style>
body { columns: 3; }
p { margin: 0 0 1em 0; }
</style>
<body>
<p>hard-<br>hit
<p>hard-<br>hit-<br>ting
<p>hard-<br>est-<br>hit
<p>hard-<br>est-<br>hit-<br>ting
<p><b>hard</b>-<br>hit
<p><b>hard</b>-<br>hit-<br>ting
<p><b>hard-<br>est</b>-<br>hit
<p><b>hard-<br>est</b>-<br>hit-<br>ting
<p>hard-<br><b>hit</b>
<p>hard-<br><b>hit-<br>ting</b>
<p>hard-<br>est-<br><b>hit</b>
<p>hard-<br>est-<br><b>hit-<br>ting</b>

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

@ -0,0 +1,22 @@
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<style>
body { columns: 3; }
p { margin: 0 0 1em 0; width:0; hyphens:auto; }
</style>
<body>
<p>hard-hit
<p>hard-hitting
<p>hardest-hit
<p>hardest-hitting
<p><b>hard</b>-hit
<p><b>hard</b>-hitting
<p><b>hardest</b>-hit
<p><b>hardest</b>-hitting
<p>hard-<b>hit</b>
<p>hard-<b>hitting</b>
<p>hardest-<b>hit</b>
<p>hardest-<b>hitting</b>

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

@ -321,6 +321,7 @@ pref(gfx.font_rendering.graphite.enabled,true) == glyph-decomposition-graphite.h
== hyphenation-control-2.html hyphenation-control-2-ref.html
== hyphenation-control-3.html hyphenation-control-3-ref.html
== hyphenation-control-4.html hyphenation-control-4-ref.html
fails == hyphenation-control-5.html hyphenation-control-5-ref.html # bug 1478574
# osx-font-smoothing - with and without subpixel AA, only under OSX
fails-if(!cocoaWidget) != osx-font-smoothing.html osx-font-smoothing-ref.html