bug 831354 - test fix 9 - give the CGJ reftest a large line-height, so it's less sensitive to the metrics of any fallback font that happens to be found.
authorJonathan Kew <jkew@mozilla.com>
Sat, 19 Jan 2013 13:42:19 +0000
changeset 119361 ec597237c8fedaa1065fc0f8bece9c2eccc359eb
parent 119360 0cc2c67234c6d38dd7aead4d7cd0708b676cbb0a
child 119362 8a294f8775149c32c785ddc599014ebf205d16c9
push id24197
push userryanvm@gmail.com
push dateSun, 20 Jan 2013 05:25:28 +0000
treeherdermozilla-central@1d122eaa9070 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs831354
milestone21.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
bug 831354 - test fix 9 - give the CGJ reftest a large line-height, so it's less sensitive to the metrics of any fallback font that happens to be found.
layout/reftests/text/cgj-01-ref.html
layout/reftests/text/cgj-01.html
--- a/layout/reftests/text/cgj-01-ref.html
+++ b/layout/reftests/text/cgj-01-ref.html
@@ -4,16 +4,17 @@
      nor affect the width of the first cluster. -->
 <html>
  <head>
   <title>CGJ test</title>
   <meta http-equiv="content-type" content="text/html; charset=utf-8">
   <style type="text/css">
   body {   
     font-size: 35px;
+    line-height: 100px;
     /* prefer Calibri on Win7 to avoid visible CGJ glyph */
     font-family: Calibri, sans-serif;
   }
   </style>
  </head>
  <body lang="fr">
    <p>a&#x300;b</p>
  </body>
--- a/layout/reftests/text/cgj-01.html
+++ b/layout/reftests/text/cgj-01.html
@@ -4,16 +4,17 @@
      nor affect the width of the first cluster. -->
 <html>
  <head>
   <title>CGJ test</title>
   <meta http-equiv="content-type" content="text/html; charset=utf-8">
   <style type="text/css">
   body {   
     font-size: 35px;
+    line-height: 100px;
     /* prefer Calibri on Win7 to avoid visible CGJ glyph */
     font-family: Calibri, sans-serif;
   }
   </style>
  </head>
  <body lang="fr">
    <p>a&#x300;&#x34f;b</p>
  </body>