Bug 1173260 - stub out tests that fail when 'cursive' is looked up via fontconfig. r=m_kato
authorJohn Daggett <jdaggett@mozilla.com>
Mon, 16 Nov 2015 08:48:45 +0900
changeset 272735 236908ce084c6f22379eb32e7635737b4e02d8fd
parent 272734 f77f6580b31c1f007a8fc026e736a1f87d020259
child 272736 e60fa9ef2762a3c9c6c705b90335dad54dc7832e
push id29682
push userkwierso@gmail.com
push dateTue, 17 Nov 2015 01:21:10 +0000
treeherdermozilla-central@a2f83cbe53ac [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersm_kato
bugs1173260
milestone45.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 1173260 - stub out tests that fail when 'cursive' is looked up via fontconfig. r=m_kato
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, 44);
+        attrs = { };
+        testTextAttrs(ID, 31, attrs, defAttrs, 31, 44);
+      }
 
       //////////////////////////////////////////////////////////////////////////
       // area17, "text-decoration" tests
       ID = "area17";
       defAttrs = buildDefaultTextAttrs(ID, "12pt");
       testDefaultTextAttrs(ID, defAttrs);
 
       attrs = {