mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 857142 - add reftest for osx-font-smoothing. r=m_kato
This commit is contained in:
parent
49087c1b1c
commit
48ee16093c
31
layout/reftests/text/osx-font-smoothing-ref.html
Normal file
31
layout/reftests/text/osx-font-smoothing-ref.html
Normal file
@ -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>
|
32
layout/reftests/text/osx-font-smoothing.html
Normal file
32
layout/reftests/text/osx-font-smoothing.html
Normal file
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user