Bug 746168 - Wrong font referenced in attributes/test_text.html for the cursive test on Mac, r=surkov
authorMarco Zehe <mzehe@mozilla.com>
Tue, 17 Apr 2012 18:39:18 +0200
changeset 91870 f636d62d59209cfe5c03c0668dedbf7b9d7965a2
parent 91869 200d81544f0253301aa7c1bb107bc2b4d819e4ab
child 91871 cefa04404a30bff72e3c3901173b0aed081f60dc
push id22480
push useremorley@mozilla.com
push dateWed, 18 Apr 2012 00:48:48 +0000
treeherdermozilla-central@93dfd98900ad [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssurkov
bugs746168
milestone14.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 746168 - Wrong font referenced in attributes/test_text.html for the cursive test on Mac, r=surkov
accessible/tests/mochitest/attributes.js
--- a/accessible/tests/mochitest/attributes.js
+++ b/accessible/tests/mochitest/attributes.js
@@ -232,18 +232,17 @@ const kInputFontFamily =
 
 const kMonospaceFontFamily =
   function(aFontFamily) { return aFontFamily != "monospace"; }
 const kSansSerifFontFamily =
   function(aFontFamily) { return aFontFamily != "sans-serif"; }
 const kSerifFontFamily =
   function(aFontFamily) { return aFontFamily != "serif"; }
 
-const kCursiveFontFamily = WIN ? "Comic Sans MS" :
-  (LINUX ? "DejaVu Serif" : "MacFont");
+const kCursiveFontFamily = LINUX ? "DejaVu Serif" : "Comic Sans MS";
 
 /**
  * Return used font from the given computed style.
  */
 function fontFamily(aComputedStyle)
 {
   var name = aComputedStyle.fontFamily;
   switch (name) {