Bug 1173260 - stub out tests that fail when 'cursive' is looked up via fontconfig. r=m_kato, a=ritu
authorJohn Daggett <jdaggett@mozilla.com>
Wed, 25 Nov 2015 15:35:20 +0900
changeset 305634 8d66f1f8df565865f9cd9f55e8ddc7763b96c918
parent 305633 14999fc92ea914363d5596650427a418344a9245
child 305635 30cb3701070945e6701d504883fe2c674eb5196e
push id1001
push userraliiev@mozilla.com
push dateMon, 18 Jan 2016 19:06:03 +0000
treeherdermozilla-release@8b89261f3ac4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersm_kato, ritu
bugs1173260
milestone44.0a2
Bug 1173260 - stub out tests that fail when 'cursive' is looked up via fontconfig. r=m_kato, a=ritu
accessible/tests/mochitest/textattrs/test_general.html
--- a/accessible/tests/mochitest/textattrs/test_general.html
+++ b/accessible/tests/mochitest/textattrs/test_general.html
@@ -473,24 +473,27 @@
       testTextAttrs(ID, 9, attrs, defAttrs, 9, 13);
 
       attrs = { };
       testTextAttrs(ID, 13, attrs, defAttrs, 13, 18);
 
       attrs = { "font-family": kAbsentFontFamily };
       testTextAttrs(ID, 18, attrs, defAttrs, 18, 22);
 
-      attrs = { };
-      testTextAttrs(ID, 22, attrs, defAttrs, 22, 27);
+      // bug 1224498 - this fails with 'cursive' fontconfig lookup
+      if (!LINUX) {
+        attrs = { };
+        testTextAttrs(ID, 22, attrs, defAttrs, 22, 27);
 
-      attrs = { "font-family": kCursiveFontFamily };
-      testTextAttrs(ID, 27, attrs, defAttrs, 27, 31);
+        attrs = { "font-family": kCursiveFontFamily };
+        testTextAttrs(ID, 27, attrs, defAttrs, 27, 31);
 
-      attrs = { };
-      testTextAttrs(ID, 31, attrs, defAttrs, 31, 45);
+        attrs = { };
+        testTextAttrs(ID, 31, attrs, defAttrs, 31, 45);
+      }
 
       //////////////////////////////////////////////////////////////////////////
       // area17, "text-decoration" tests
       ID = "area17";
       defAttrs = buildDefaultTextAttrs(ID, "12pt");
       testDefaultTextAttrs(ID, defAttrs);
 
       attrs = {