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 91874 f636d62d59209cfe5c03c0668dedbf7b9d7965a2
parent 91873 200d81544f0253301aa7c1bb107bc2b4d819e4ab
child 91875 cefa04404a30bff72e3c3901173b0aed081f60dc
push id690
push usertim.taubert@gmx.de
push dateThu, 19 Apr 2012 08:49:11 +0000
treeherderfx-team@a9b543de6b67 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssurkov
bugs746168
milestone14.0a1
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) {