Bug 857142 - add reftest for osx-font-smoothing. r=m_kato

This commit is contained in:
John Daggett 2013-07-29 17:34:01 +09:00
Родитель a2145129e0
Коммит 4fea08da93
3 изменённых файлов: 66 добавлений и 0 удалений

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

@ -0,0 +1,31 @@
<!DOCTYPE HTML>
<html>
<head>
<style type="text/css">
body {
margin: 20px;
font-family: Futura, Helvetica, Arial, sans-serif;
background-color: black;
color: white;
}
p {
margin: 0;
line-height: 1.3em;
}
</style>
</head>
<body lang="en">
<p style="font-size: 9px;">I have stood still and stopped the sound of feet.</p>
<p style="font-size: 10px;">I have stood still and stopped the sound of feet.</p>
<p style="font-size: 11px;">I have stood still and stopped the sound of feet.</p>
<p style="font-size: 12px;">I have stood still and stopped the sound of feet.</p>
<p style="font-size: 13px;">I have stood still and stopped the sound of feet.</p>
<p style="font-size: 14px;">I have stood still and stopped the sound of feet.</p>
<p style="font-size: 15px;">I have stood still and stopped the sound of feet.</p>
<p style="font-size: 16px;">I have stood still and stopped the sound of feet.</p>
<p style="font-size: 17px;">I have stood still and stopped the sound of feet.</p>
<p style="font-size: 18px;">I have stood still and stopped the sound of feet.</p>
<p style="font-size: 19px;">I have stood still and stopped the sound of feet.</p>
<p style="font-size: 20px;">I have stood still and stopped the sound of feet.</p>
</body>
</html>

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

@ -0,0 +1,32 @@
<!DOCTYPE HTML>
<html>
<head>
<style type="text/css">
body {
margin: 20px;
font-family: Futura, Helvetica, Arial, sans-serif;
background-color: black;
color: white;
}
p {
margin: 0;
line-height: 1.3em;
-moz-osx-font-smoothing: grayscale;
}
</style>
</head>
<body lang="en">
<p style="font-size: 9px;">I have stood still and stopped the sound of feet.</p>
<p style="font-size: 10px;">I have stood still and stopped the sound of feet.</p>
<p style="font-size: 11px;">I have stood still and stopped the sound of feet.</p>
<p style="font-size: 12px;">I have stood still and stopped the sound of feet.</p>
<p style="font-size: 13px;">I have stood still and stopped the sound of feet.</p>
<p style="font-size: 14px;">I have stood still and stopped the sound of feet.</p>
<p style="font-size: 15px;">I have stood still and stopped the sound of feet.</p>
<p style="font-size: 16px;">I have stood still and stopped the sound of feet.</p>
<p style="font-size: 17px;">I have stood still and stopped the sound of feet.</p>
<p style="font-size: 18px;">I have stood still and stopped the sound of feet.</p>
<p style="font-size: 19px;">I have stood still and stopped the sound of feet.</p>
<p style="font-size: 20px;">I have stood still and stopped the sound of feet.</p>
</body>
</html>

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

@ -276,3 +276,6 @@ pref(gfx.font_rendering.graphite.enabled,true) HTTP(..) == glyph-decomposition-g
!= auto-hyphenation-sv-1.html auto-hyphenation-sv-1-notref.html # verify swedish != english
== auto-hyphenation-tr-1.html auto-hyphenation-tr-1-ref.html
== auto-hyphenation-uk-1.html auto-hyphenation-uk-1-ref.html
# osx-font-smoothing - with and without subpixel AA, only under OSX
skip-if(!cocoaWidget||OSX==10.6||OSX==10.7)) != osx-font-smoothing.html osx-font-smoothing-ref.html