зеркало из https://github.com/mozilla/gecko-dev.git
bug 900975 - reftest for -moz-osx-font-smoothing on display:inline element. r=dbaron
This commit is contained in:
Родитель
fd44d1168e
Коммит
3508f0fb9a
|
@ -0,0 +1,23 @@
|
|||
<!DOCTYPE HTML>
|
||||
<!-- testcase for https://bugzilla.mozilla.org/show_bug.cgi?id=900975 -->
|
||||
<html>
|
||||
<head>
|
||||
<style type="text/css">
|
||||
p {
|
||||
margin: 20px;
|
||||
font-family: Arial, sans-serif;
|
||||
background-color: black;
|
||||
color: white;
|
||||
}
|
||||
.smoothing-gray {
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
.smoothing-auto {
|
||||
-moz-osx-font-smoothing: auto;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body lang="en">
|
||||
<p class="smoothing-auto"><span>foo</span> <span>bar</span></p>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE HTML>
|
||||
<!-- testcase for https://bugzilla.mozilla.org/show_bug.cgi?id=900975 -->
|
||||
<html>
|
||||
<head>
|
||||
<style type="text/css">
|
||||
p {
|
||||
margin: 20px;
|
||||
font-family: Arial, sans-serif;
|
||||
background-color: black;
|
||||
color: white;
|
||||
}
|
||||
.smoothing-gray {
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
.smoothing-auto {
|
||||
-moz-osx-font-smoothing: auto;
|
||||
}
|
||||
span {
|
||||
display: inline-block;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body lang="en">
|
||||
<p class="smoothing-auto"><span>foo</span> <span class="smoothing-gray">bar</span></p>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,23 @@
|
|||
<!DOCTYPE HTML>
|
||||
<!-- testcase for https://bugzilla.mozilla.org/show_bug.cgi?id=900975 -->
|
||||
<html>
|
||||
<head>
|
||||
<style type="text/css">
|
||||
p {
|
||||
margin: 20px;
|
||||
font-family: Arial, sans-serif;
|
||||
background-color: black;
|
||||
color: white;
|
||||
}
|
||||
.smoothing-gray {
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
.smoothing-auto {
|
||||
-moz-osx-font-smoothing: auto;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body lang="en">
|
||||
<p class="smoothing-auto"><span>foo</span> <span class="smoothing-gray">bar</span></p>
|
||||
</body>
|
||||
</html>
|
|
@ -278,4 +278,6 @@ pref(gfx.font_rendering.graphite.enabled,true) HTTP(..) == glyph-decomposition-g
|
|||
== 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
|
||||
fails-if(!cocoaWidget||OSX==10.6||OSX==10.7) != osx-font-smoothing.html osx-font-smoothing-ref.html
|
||||
fails-if(!cocoaWidget||OSX==10.6||OSX==10.7) != osx-font-smoothing-2.html osx-font-smoothing-2-notref.html
|
||||
== osx-font-smoothing-2.html osx-font-smoothing-2-ref.html
|
||||
|
|
Загрузка…
Ссылка в новой задаче