From 7fa4a40b820eb56fe2d066c269d740f1c0fb43ac 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 78068ca3cfcd..9e9476486c8a 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 78bafb5587d1..6c222921409c 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 f2e8afacd917..34841a4b8e00 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 19606fff032c..06e2c6d00991 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.

+