reftest.list (6601B)
1 # Tests for opentype font feature control (bug 511339) 2 # 3 # These rely on the Linux Libertine font (loaded via @font-face) 4 # to ensure that features are present. 5 6 # check that Turkish language causes a change in rendering (no fi ligature) 7 # (also works via Pango) 8 != font-features-turkish.html font-features-ref.html 9 10 # check that disabling ligatures causes a change 11 != font-features-noliga.html font-features-ref.html 12 13 # check that enabling optional ligatures causes a change 14 != font-features-hlig.html font-features-ref.html 15 16 # compare Turkish rendering with reference using ZWNJ to break the ligature 17 == font-features-turkish.html font-features-turkish-ref.html 18 19 # compare Turkish rendering with explicitly disabled ligatures 20 == font-features-turkish.html font-features-noliga.html 21 22 # The following should pass even if feature support isn't available, 23 # because both testcase and reference will have the default rendering, 24 # though they're not really meaningful unless the tests above passed already. 25 26 # compare feature specified within @font-face to same feature in style rule 27 == font-features-hlig-2.html font-features-hlig.html 28 == font-features-hlig-4.html font-features-hlig.html 29 != font-features-hlig-5.html font-features-hlig.html 30 == font-features-ligatures-none.html font-features-noliga.html 31 32 # check that feature in style rule overrides @font-face 33 == font-features-hlig-3.html font-features-noliga.html 34 35 # compare font-language-override rendering to lang-tagged rendering 36 == font-features-turkish-override-1.html font-features-turkish.html 37 == font-features-turkish-override-2.html font-features-turkish.html 38 39 # check use of font-language-override to override explicit lang tag 40 == font-features-turkish-override-3.html font-features-ref.html 41 == font-features-turkish-override-4.html font-features-ref.html 42 == font-features-turkish-override-5.html font-features-turkish.html 43 44 # check that last value wins if a feature is repeated 45 == font-features-order-1.html font-features-ref.html 46 == font-features-order-2.html font-features-noliga.html 47 48 # check priority of feature settings vs. font-variant subproperty 49 == font-features-order-3.html font-features-noliga.html 50 == font-features-order-4.html font-features-noliga.html 51 == font-features-order-5.html font-features-hlig.html 52 53 # check priority involving feature settings and font-variant-alternates 54 == alternates-order.html alternates-order-ref.html 55 56 # check that font-specific values line up with @font-face feature settings 57 skip-if(winWidget) == annotations.html annotations-ref.html # bug 1447257 58 59 # font-variant subproperties 60 # test for specific features being on and others off, based on prop values 61 # (debug problems with font-variant-debug.html which displays all props) 62 == font-variant-alternates.html font-variant-alternates-ref.html 63 == font-variant-caps.html font-variant-caps-ref.html 64 == font-variant-east-asian.html font-variant-east-asian-ref.html 65 == font-variant-ligatures.html font-variant-ligatures-ref.html 66 == font-variant-numeric.html font-variant-numeric-ref.html 67 == font-variant-position.html font-variant-position-ref.html 68 69 # font-kerning 70 != font-kerning-normal.html font-kerning-none.html 71 != font-kerning-auto.html font-kerning-none.html 72 == font-kerning-auto.html font-kerning-normal.html 73 == font-kerning-normal.html font-kerning-kern.html 74 == font-kerning-none.html font-kerning-nokern.html 75 == font-kerning-1.html font-kerning-none.html 76 == font-kerning-2.html font-kerning-normal.html 77 == font-kerning-3.html font-kerning-none.html 78 != font-kerning-table-none.html font-kerning-table-normal.html 79 80 # sanity check for kerning - with no spaces, kerning should occur 81 == kerning-sanity-check-kern.html kerning-sanity-check-default.html 82 != kerning-sanity-check-nokern.html kerning-sanity-check-default.html 83 84 # OpenType features should work across inter-word spaces 85 == font-features-across-space-1.html font-features-across-space-1-ref.html 86 == spacelookups.html spacelookups-ref.html 87 # tests whether word cache is in use by testing for ignored space kerns 88 == spacelookups-wordcache.html spacelookups-wordcache-ref.html 89 # requires Japanese font with feature support, WinXP lacks one 90 random-if(!winWidget&&!cocoaWidget) == fwid-spaces.html fwid-spaces-ref.html 91 # Arial/Times New Roman on Win7+/OSX 10.6+ have kerning pairs that include spaces 92 random-if(!winWidget&&!cocoaWidget) fails-if(winWidget||cocoaWidget) != kerning-spaces-arial-nokern.html kerning-spaces-arial-default.html 93 random-if(!winWidget&&!cocoaWidget) fails-if(winWidget||cocoaWidget) == kerning-spaces-arial-kern.html kerning-spaces-arial-default.html 94 random-if(!winWidget&&!cocoaWidget) fails-if(winWidget||cocoaWidget) != kerning-spaces-tnr-nokern.html kerning-spaces-tnr-default.html 95 random-if(!winWidget&&!cocoaWidget) fails-if(winWidget||cocoaWidget&&/^10\.15$/.test(os_version)||cocoaWidget&&/^11\.20$/.test(os_version)) == kerning-spaces-tnr-kern.html kerning-spaces-tnr-default.html 96 97 # font-variant-caps fallback 98 # -- sanity check - none of these should look like the default rendering 99 != caps-fallback-smallcaps1.html caps-fallback-default.html 100 != caps-fallback-smallcaps2.html caps-fallback-default.html 101 != caps-fallback-petitecaps.html caps-fallback-default.html 102 != caps-fallback-allsmallcaps.html caps-fallback-default.html 103 != caps-fallback-allpetitecaps.html caps-fallback-default.html 104 # -- normal or fallback rendering 105 == caps-fallback-smallcaps1.html caps-fallback-smcp.html 106 == caps-fallback-smallcaps2.html caps-fallback-smcp.html 107 == caps-fallback-petitecaps.html caps-fallback-smcp.html 108 == caps-fallback-allsmallcaps.html caps-fallback-smcpc2sc.html 109 == caps-fallback-allpetitecaps.html caps-fallback-smcpc2sc.html 110 111 == small-caps-missing-capital.html small-caps-missing-capital-ref.html 112 113 # font-variant-position fallback 114 random-if(cocoaWidget||Android) == subsuper-fallback.html subsuper-fallback-ref.html # bug 1139269 115 != subsuper-fallback.html subsuper-fallback-notref1.html 116 != subsuper-fallback.html subsuper-fallback-notref2.html 117 != subsuper-fallback.html subsuper-fallback-notref3.html 118 != subsuper-fallback-omega.html subsuper-fallback-omega-notref.html 119 == subsuper-nofallback.html subsuper-nofallback-ref1.html 120 random-if(cocoaWidget) == subsuper-nofallback.html subsuper-nofallback-ref2.html # bug 1139269 121 != subsuper-nofallback.html subsuper-nofallback-notref.html 122 == subsuper-fallback-size.html subsuper-fallback-size-ref.html 123 124 # GPOS spacing adjustments in vertical mode -- subsetted opentype/cff test font fails to load on Win7 125 fuzzy-if(winWidget,0-1,0-70) == 1376231-vertical-gpos-adjustments.html 1376231-vertical-gpos-adjustments-ref.html