Bug 531405: add FreeSans to font list, to make @font-face reftest more robust. r=roc
authorJonathan Kew <jfkthame@gmail.com>
Mon, 14 Dec 2009 10:35:46 +0000
changeset 35716 b83bcfdab5abe811ff4c7807c0dd93c63e343f4f
parent 35715 f5ae3ffa3363a50ea9c5a339419958c9e1450b24
child 35717 82a6f0031d9f7568014a4430c24f277a81d1d0a2
push id10691
push userjkew@mozilla.com
push dateMon, 14 Dec 2009 10:39:18 +0000
treeherdermozilla-central@44c392db6672 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersroc
bugs531405
milestone1.9.3a1pre
Bug 531405: add FreeSans to font list, to make @font-face reftest more robust. r=roc
layout/reftests/font-face/src-list-local-full-quotes.html
layout/reftests/font-face/src-list-local-full-ref.html
layout/reftests/font-face/src-list-local-full.html
--- a/layout/reftests/font-face/src-list-local-full-quotes.html
+++ b/layout/reftests/font-face/src-list-local-full-quotes.html
@@ -10,28 +10,28 @@ body {
   margin: 50px;
   font-size: 24pt;
 }
 
 /* use full names */
 
 @font-face {
   font-family: test-regular;
-  src: local("Helvetica Neue"), local("Bitstream Vera Sans"), local("Bitstream Vera Sans Roman"), local("Arial");
+  src: local("Helvetica Neue"), local("Bitstream Vera Sans"), local("Bitstream Vera Sans Roman"), local("Free Sans"), local("Arial");
 }
 
 /* use Helvetica on the Mac, since Futura has no bold face on 10.4, 10.5 */
 @font-face {
   font-family: test-bold;
-  src: local("Helvetica Neue Bold"), local("Bitstream Vera Sans Bold"), local("Arial Bold");
+  src: local("Helvetica Neue Bold"), local("Bitstream Vera Sans Bold"), local("Free Sans Bold"), local("Arial Bold");
 }
 
 @font-face {
   font-family: test-italic;
-  src: local("Helvetica Neue Italic"), local("Bitstream Vera Sans Oblique"), local("Arial Italic");
+  src: local("Helvetica Neue Italic"), local("Bitstream Vera Sans Oblique"), local("Free Sans Oblique"), local("Arial Italic");
 }
 
 .regular { font-family: test-regular, serif; }
 .bold { font-family: test-bold, serif; }
 .italic { font-family: test-italic, serif; }
 
 </style>
   
--- a/layout/reftests/font-face/src-list-local-full-ref.html
+++ b/layout/reftests/font-face/src-list-local-full-ref.html
@@ -8,17 +8,17 @@
 
 body {
   margin: 50px;
   font-size: 24pt;
 }
 
 /* use full names */
 
-p { font-family: Helvetica Neue, Bitstream Vera Sans, Arial, serif; }
+p { font-family: Helvetica Neue, Bitstream Vera Sans, FreeSans, Arial, serif; }
 
 .regular {  }
 .bold { font-weight: bold; }
 .italic { font-style: italic; }
 
 </style>
   
 <script type="text/javascript">
@@ -30,9 +30,9 @@ p { font-family: Helvetica Neue, Bitstre
 
 <p class="regular">This should be a sans-serif face</p>
 
 <p class="bold">This should be a bold sans-serif face</p>
 
 <p class="italic">This should be an italic sans-serif face</p>
 
 </body>
-</html>
\ No newline at end of file
+</html>
--- a/layout/reftests/font-face/src-list-local-full.html
+++ b/layout/reftests/font-face/src-list-local-full.html
@@ -10,28 +10,28 @@ body {
   margin: 50px;
   font-size: 24pt;
 }
 
 /* use full names */
 
 @font-face {
   font-family: test-regular;
-  src: local(Helvetica Neue), local(Bitstream Vera Sans), local(Bitstream Vera Sans Roman), local(Arial);
+  src: local(Helvetica Neue), local(Bitstream Vera Sans), local(Bitstream Vera Sans Roman), local(Free Sans), local(Arial);
 }
 
 /* use Helvetica on the Mac, since Futura has no bold face on 10.4, 10.5 */
 @font-face {
   font-family: test-bold;
-  src: local(Helvetica Neue Bold), local(Bitstream Vera Sans Bold), local(Arial Bold);
+  src: local(Helvetica Neue Bold), local(Bitstream Vera Sans Bold), local(Free Sans Bold), local(Arial Bold);
 }
 
 @font-face {
   font-family: test-italic;
-  src: local(Helvetica Neue Italic), local(Bitstream Vera Sans Oblique), local(Arial Italic);
+  src: local(Helvetica Neue Italic), local(Bitstream Vera Sans Oblique), local(Free Sans Oblique), local(Arial Italic);
 }
 
 .regular { font-family: test-regular, serif; }
 .bold { font-family: test-bold, serif; }
 .italic { font-family: test-italic, serif; }
 
 </style>