Bug 1173260 - stub out tests that fail when 'cursive' is looked up via fontconfig. r=m_kato

This commit is contained in:
John Daggett 2015-11-16 08:48:45 +09:00
parent 5fe07c8458
commit 58aea8d328

View File

@ -478,14 +478,17 @@
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