reftest.list 6.9 KB

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