From 48ee16093ca9f0692b0416bb35f2a49c52fdbe67 Mon Sep 17 00:00:00 2001 From: John Daggett Date: Tue, 30 Jul 2013 05:01:24 +0900 Subject: [PATCH] Bug 857142 - add reftest for osx-font-smoothing. r=m_kato --- .../reftests/text/osx-font-smoothing-ref.html | 31 ++++++++++++++++++ layout/reftests/text/osx-font-smoothing.html | 32 +++++++++++++++++++ layout/reftests/text/reftest.list | 3 ++ 3 files changed, 66 insertions(+) create mode 100644 layout/reftests/text/osx-font-smoothing-ref.html create mode 100644 layout/reftests/text/osx-font-smoothing.html diff --git a/layout/reftests/text/osx-font-smoothing-ref.html b/layout/reftests/text/osx-font-smoothing-ref.html new file mode 100644 index 00000000000..4fb59bdec17 --- /dev/null +++ b/layout/reftests/text/osx-font-smoothing-ref.html @@ -0,0 +1,31 @@ + + + + + + +

I have stood still and stopped the sound of feet.

+

I have stood still and stopped the sound of feet.

+

I have stood still and stopped the sound of feet.

+

I have stood still and stopped the sound of feet.

+

I have stood still and stopped the sound of feet.

+

I have stood still and stopped the sound of feet.

+

I have stood still and stopped the sound of feet.

+

I have stood still and stopped the sound of feet.

+

I have stood still and stopped the sound of feet.

+

I have stood still and stopped the sound of feet.

+

I have stood still and stopped the sound of feet.

+

I have stood still and stopped the sound of feet.

+ + diff --git a/layout/reftests/text/osx-font-smoothing.html b/layout/reftests/text/osx-font-smoothing.html new file mode 100644 index 00000000000..46a4c85451d --- /dev/null +++ b/layout/reftests/text/osx-font-smoothing.html @@ -0,0 +1,32 @@ + + + + + + +

I have stood still and stopped the sound of feet.

+

I have stood still and stopped the sound of feet.

+

I have stood still and stopped the sound of feet.

+

I have stood still and stopped the sound of feet.

+

I have stood still and stopped the sound of feet.

+

I have stood still and stopped the sound of feet.

+

I have stood still and stopped the sound of feet.

+

I have stood still and stopped the sound of feet.

+

I have stood still and stopped the sound of feet.

+

I have stood still and stopped the sound of feet.

+

I have stood still and stopped the sound of feet.

+

I have stood still and stopped the sound of feet.

+ + diff --git a/layout/reftests/text/reftest.list b/layout/reftests/text/reftest.list index 18c403badbe..f52f98cd568 100644 --- a/layout/reftests/text/reftest.list +++ b/layout/reftests/text/reftest.list @@ -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