From 27704a8a16547b0b49242076aa56cffcfbe78c0e Mon Sep 17 00:00:00 2001 From: Jonathan Kew Date: Thu, 5 Jan 2012 11:54:46 +0000 Subject: [PATCH] bug 703100 - pt 7 - fix fragile reftests that depend on metrics of fallback fonts used for invisible chars. r=roc --- layout/reftests/bugs/619511-1-ref.html | 1 + layout/reftests/bugs/619511-1.html | 1 + layout/reftests/text/justification-1-ref.html | 13 ++++++------- layout/reftests/text/justification-1.html | 14 +++++++------- 4 files changed, 15 insertions(+), 14 deletions(-) diff --git a/layout/reftests/bugs/619511-1-ref.html b/layout/reftests/bugs/619511-1-ref.html index 78068ca3cfc..9e9476486c8 100644 --- a/layout/reftests/bugs/619511-1-ref.html +++ b/layout/reftests/bugs/619511-1-ref.html @@ -8,6 +8,7 @@ body { font-family: dl1, serif; font-size: 36px; + line-height: 2em; letter-spacing: 3px; } diff --git a/layout/reftests/bugs/619511-1.html b/layout/reftests/bugs/619511-1.html index 78bafb5587d..6c222921409 100644 --- a/layout/reftests/bugs/619511-1.html +++ b/layout/reftests/bugs/619511-1.html @@ -8,6 +8,7 @@ body { font-family: dl1, serif; font-size: 36px; + line-height: 2em; letter-spacing: 3px; } diff --git a/layout/reftests/text/justification-1-ref.html b/layout/reftests/text/justification-1-ref.html index f2e8afacd91..34841a4b8e0 100644 --- a/layout/reftests/text/justification-1-ref.html +++ b/layout/reftests/text/justification-1-ref.html @@ -1,12 +1,11 @@ - - -

I am the very model of a modern major-general. -

I am the very model of a modern major-general. -

I  am the
very model of a modern major-general. -

I  ​am ​the
very ​model ​of ​a ​modern ​major-general. -

I am the
very model of a modern major-general. + +

I am the very model of a modern major-general.

+

I am the very model of a modern major-general.

+

I  am the
very model of a modern major-general.

+

I  ​am ​the
very ​model ​of ​a ​modern ​major-general.

+

I am the
very model of a modern major-general.

diff --git a/layout/reftests/text/justification-1.html b/layout/reftests/text/justification-1.html index 19606fff032..06e2c6d0099 100644 --- a/layout/reftests/text/justification-1.html +++ b/layout/reftests/text/justification-1.html @@ -1,17 +1,17 @@ - +

I am the -very model of a modern major-general. +very model of a modern major-general.

I am the -very model of a modern major-general. +very model of a modern major-general.

I am the -very model of a modern major-general. +very model of a modern major-general.

I am the -very model of a modern major-general. +very model of a modern major-general.

I am the -very model of a modern major-general. - \ No newline at end of file +very model of a modern major-general.

+