2016-10-09 10:51:33 +03:00
fails-if(Android) == fallback-01.xhtml fallback-01-ref.xhtml
2008-11-07 05:31:02 +03:00
== font-selection-by-lang-01.html font-selection-by-lang-01-ref.html
2017-10-22 10:31:41 +03:00
== font-selection-fallback-1.html font-selection-fallback-1-ref.html
== font-selection-generic-1.html font-selection-generic-1-ref.html
2016-10-09 10:51:33 +03:00
fails-if(Android) != font-size-adjust-01.html font-size-adjust-01-ref.html
2009-03-30 04:31:51 +04:00
# The following test passes consistently only on Mac OS X;
# both Windows and Linux give results that vary depending on the font size/zoom factor used,
# because hinting affects the metrics used to compute the font size adjustment. See bug 429605.
2010-07-31 03:48:57 +04:00
random-if(!cocoaWidget) == font-size-adjust-02.html font-size-adjust-02-ref.html
2009-03-30 04:31:51 +04:00
# This currently fails because line spacing does not respect font-size-adjust
# in the "obvious" way, but it is unclear what the behavior should really be;
# see bug #366138 for some (inconclusive) discussion
# == font-size-adjust-03.html font-size-adjust-03-ref.html
2017-04-30 10:20:42 +03:00
== justification-1.html justification-1-ref.html
2008-08-12 12:31:56 +04:00
== justification-2a.html justification-2-ref.html
== justification-2b.html justification-2-ref.html
2010-01-27 10:29:46 +03:00
== justification-2c.html justification-2-ref.html
!= justification-2d.html justification-2-ref.html
2014-09-24 21:11:05 +04:00
== justification-cjk-extension.html justification-cjk-extension-ref.html
2014-09-24 21:10:59 +04:00
== justification-space-diacritic.html justification-space-diacritic-ref.html
2017-10-22 10:31:41 +03:00
load ligature-with-space-1.html
2014-06-24 18:20:00 +04:00
== line-editing-1a.html line-editing-1-ref.html
== line-editing-1b.html line-editing-1-ref.html
== line-editing-1c.html line-editing-1-ref.html
== line-editing-1d.html line-editing-1-ref.html
== line-editing-1e.html line-editing-1-ref.html
Bug 1458159 - Use rounding instead of ceiling on max{Ascent,Descent} for DWriteFont. r=jfkthame
The ceiling was introduced in bug 549190 for improve the consistency of
underline positioning. However, removing ceiling now doesn't seem to
regress the testcases in that bug, probably thanks to improvement in
other part.
The ceiling here causes us to have different font metrics than other
browsers on Windows, and can lead to webcompat issue. We also don't do
this for other backends. So it's probably better removing it in favor
of rounding.
There are several test changes:
* min-intrinsic-with-percents-across-elements.html changes result due to
height of wrapping div in reference page depends on line height, so a
fixed line height is set to work around the issue.
* 368020-1.html changes result because a slightly different line-height
triggers bug 1462514. It is changed to use fixed line-height to work
around the issue.
* 456147.xul is disabled because it compares XUL against HTML page, but
XUL has different approach to position text in its elements than HTML.
Specifically, XUL elements don't seem to respect line height while
HTML elements do. The original line height in the file was probably
chosen to make the HTML match XUL, so it seems to be non-trivial to
fix it in a platform-independent way.
* sizing-orthog-{vlr,vrl}-in-htb-{008,020}.xht fails due to text in <p>
after the testing block shifts 1px up for unknown reason.
MozReview-Commit-ID: 2WJG1AigWl1
--HG--
extra : source : 653c6b7480997c4e1dbead5f0441bc06a0605b7a
2018-05-22 04:43:30 +03:00
fails-if(cocoaWidget) == lineheight-metrics-1.html lineheight-metrics-1-ref.html # bug 657864
2017-10-22 10:31:41 +03:00
== lineheight-metrics-2a.html lineheight-metrics-2-ref.html
== lineheight-metrics-2b.html lineheight-metrics-2-ref.html
2012-07-20 01:03:35 +04:00
== lineheight-percentage-1.html lineheight-percentage-1-ref.html
2018-05-29 20:50:33 +03:00
random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == long-1.html long-ref.html # Bug 1392106
Bug 1369941: Replace single integers N in fuzzy() and fuzzy-if() with 0-N ranges. r=dholbert
This patch was written entirely by the following script:
#!/bin/bash
if [ ! -d "./.hg" ]
then
echo "Not in a source tree." 1>&2
exit 1
fi
find . -regex '.*\(ref\|crash\)test.*\.list' | while read FILENAME
do
echo "Processing ${FILENAME}."
# The following has four substitutions:
# * The first one replaces the *first* argument to fuzzy() when it doesn't
# have a - in it, by replacing it with an explicit 0-N range.
# * The second one does the same for the *second* argument to fuzzy().
# * The third does the same for the *second* argument to fuzzy-if().
# * The fourth does the same for the *third* argument to fuzzy-if().
#
# Note that this is using perl rather than sed because perl doesn't
# support non-greedy matching, which is needed for the first argument to
# fuzzy-if.
perl -pi -e 's/(fuzzy\()([^ ,()-]*)(,[^ ,()]*\))/${1}0-${2}${3}/g;s/(fuzzy\([^ ,()]*,)([^ ,()-]*)(\))/${1}0-${2}${3}/g;s/(fuzzy-if\([^ ]*?,)([^ ,()-]*)(,[^ ,()]*\))/${1}0-${2}${3}/g;s/(fuzzy-if\([^ ]*?,[^ ,()]*,)([^ ,()-]*)(\))/${1}0-${2}${3}/g' "${FILENAME}"
done
Differential Revision: https://phabricator.services.mozilla.com/D2974
--HG--
extra : moz-landing-system : lando
2018-08-09 23:10:21 +03:00
fuzzy-if(Android,0-255,0-325) == pre-line-1.html pre-line-1-ref.html
2008-08-12 12:31:56 +04:00
== pre-line-2.html pre-line-2-ref.html
2008-08-15 14:14:12 +04:00
== pre-line-3.html pre-line-3-ref.html
2009-02-07 15:21:30 +03:00
== pre-line-4.html pre-line-4-ref.html
2014-06-05 07:25:15 +04:00
== pre-space-1.html pre-space-1-ref.html
2017-04-30 10:20:42 +03:00
== pre-wrap-1.html pre-wrap-1-ref.html
2008-08-12 13:18:23 +04:00
== soft-hyphens-1a.html soft-hyphens-1-ref.html
== soft-hyphens-1b.html soft-hyphens-1-ref.html
== soft-hyphens-1c.html soft-hyphens-1-ref.html
2014-01-29 18:45:23 +04:00
== soft-hyphens-break-word-1a.html soft-hyphens-break-word-1-ref.html
== soft-hyphens-break-word-1b.html soft-hyphens-break-word-1-ref.html
== soft-hyphens-break-word-1c.html soft-hyphens-break-word-1-ref.html
2011-03-24 18:24:17 +03:00
# Tests for soft hyphens in table cells, bug 418975
2011-03-27 12:14:41 +04:00
!= soft-hyphen-in-table-1.html soft-hyphen-in-table-1-notref.html
== soft-hyphen-in-table-1.html soft-hyphen-in-table-1-ref.html
== soft-hyphen-in-table-2.html soft-hyphen-in-table-2-ref.html
2016-06-08 20:51:27 +03:00
# Cairo's FreeType and GDI backends snap glyphs to pixels, while Mac (usually),
# D2D, and Skia have subpixel positioning. The tests for pixel-snapping assume that
2010-11-14 22:22:34 +03:00
# 1 CSS pixel == 1 device pixel
2016-06-08 20:51:27 +03:00
fails-if(Android) skip-if(d2d||cocoaWidget||skiaContent) == subpixel-glyphs-x-1a.html subpixel-glyphs-x-1b.html
2010-11-14 22:22:34 +03:00
# Platforms with subpixel positioning already have inconsistent glyphs by
# design, but that is considered more tolerable because they are subpixel
# inconsistencies. On those platforms we just test that glyph positions are
# subpixel.
2011-06-03 08:31:08 +04:00
# D2D/DirectWrite results depend on the rendering mode chosen, so considering this as random for now.
skip-if(!(d2d||cocoaWidget)) random-if(d2d) != subpixel-glyphs-x-2a.html subpixel-glyphs-x-2b.html
2017-10-22 10:31:41 +03:00
== subpixel-glyphs-x-3a.html subpixel-glyphs-x-3b.html
2010-11-14 22:22:34 +03:00
# No platforms do subpixel positioning vertically
Bug 1369941: Replace single integers N in fuzzy() and fuzzy-if() with 0-N ranges. r=dholbert
This patch was written entirely by the following script:
#!/bin/bash
if [ ! -d "./.hg" ]
then
echo "Not in a source tree." 1>&2
exit 1
fi
find . -regex '.*\(ref\|crash\)test.*\.list' | while read FILENAME
do
echo "Processing ${FILENAME}."
# The following has four substitutions:
# * The first one replaces the *first* argument to fuzzy() when it doesn't
# have a - in it, by replacing it with an explicit 0-N range.
# * The second one does the same for the *second* argument to fuzzy().
# * The third does the same for the *second* argument to fuzzy-if().
# * The fourth does the same for the *third* argument to fuzzy-if().
#
# Note that this is using perl rather than sed because perl doesn't
# support non-greedy matching, which is needed for the first argument to
# fuzzy-if.
perl -pi -e 's/(fuzzy\()([^ ,()-]*)(,[^ ,()]*\))/${1}0-${2}${3}/g;s/(fuzzy\([^ ,()]*,)([^ ,()-]*)(\))/${1}0-${2}${3}/g;s/(fuzzy-if\([^ ]*?,)([^ ,()-]*)(,[^ ,()]*\))/${1}0-${2}${3}/g;s/(fuzzy-if\([^ ]*?,[^ ,()]*,)([^ ,()-]*)(\))/${1}0-${2}${3}/g' "${FILENAME}"
done
Differential Revision: https://phabricator.services.mozilla.com/D2974
--HG--
extra : moz-landing-system : lando
2018-08-09 23:10:21 +03:00
fuzzy-if(Android,0-19,0-2) == subpixel-glyphs-y-1a.html subpixel-glyphs-y-1b.html
fuzzy-if(Android,0-231,0-653) == subpixel-lineheight-1a.html subpixel-lineheight-1b.html
2017-04-22 02:10:50 +03:00
== swash-1.html swash-1-ref.html
2017-10-22 10:31:41 +03:00
!= synthetic-bold-metrics-01.html synthetic-bold-metrics-01-notref.html
== synthetic-bold-papyrus-01.html synthetic-bold-papyrus-01-ref.html
2012-01-12 21:52:17 +04:00
# Tests for text-align-last
2018-06-26 20:32:30 +03:00
random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == text-align-last-start.html text-align-last-start-ref.html # Bug 1392106
random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == text-align-last-end.html text-align-last-end-ref.html # Bug 1392106
random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == text-align-last-center.html text-align-last-center-ref.html # Bug 1392106
random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == text-align-last-justify.html text-align-last-justify-ref.html # Bug 1392106
2018-06-01 16:29:35 +03:00
random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == text-align-last-justify-rtl.html text-align-last-justify-rtl-ref.html # Bug 1392106
2012-01-12 21:52:17 +04:00
#
# Default values:
# text-align defaults to start. text-align-last defaults to auto, which is
# equivalent to the value of the ‘ text-align’ property except when ‘ text-align’
# is set to ‘ justify’ , in which case it is currently equivalent to ‘ start’
# This will need to change when we implement text-justify
== text-align-default-last-default.html text-align-start-last-start.html
== text-align-start-last-default.html text-align-start-last-start.html
== text-align-end-last-default.html text-align-end-last-end.html
== text-align-center-last-default.html text-align-center-last-center.html
== text-align-justify-last-default.html text-align-justify-last-start.html
# All combinations of text-align and text-align-last should give different results
# This only tests the combinations with the same value for text-align and
# different values for text-align-last
!= text-align-start-last-start.html text-align-start-last-end.html
!= text-align-start-last-start.html text-align-start-last-center.html
!= text-align-start-last-start.html text-align-start-last-justify.html
!= text-align-start-last-end.html text-align-start-last-center.html
!= text-align-start-last-end.html text-align-start-last-justify.html
!= text-align-start-last-center.html text-align-start-last-justify.html
!= text-align-end-last-start.html text-align-end-last-end.html
!= text-align-end-last-start.html text-align-end-last-center.html
!= text-align-end-last-start.html text-align-end-last-justify.html
!= text-align-end-last-end.html text-align-end-last-center.html
!= text-align-end-last-end.html text-align-end-last-justify.html
!= text-align-end-last-center.html text-align-end-last-justify.html
!= text-align-center-last-start.html text-align-center-last-end.html
!= text-align-center-last-start.html text-align-center-last-center.html
!= text-align-center-last-start.html text-align-center-last-justify.html
!= text-align-center-last-end.html text-align-center-last-center.html
!= text-align-center-last-end.html text-align-center-last-justify.html
!= text-align-center-last-center.html text-align-center-last-justify.html
!= text-align-justify-last-start.html text-align-justify-last-end.html
!= text-align-justify-last-start.html text-align-justify-last-center.html
!= text-align-justify-last-start.html text-align-justify-last-justify.html
!= text-align-justify-last-end.html text-align-justify-last-center.html
!= text-align-justify-last-end.html text-align-justify-last-justify.html
!= text-align-justify-last-center.html text-align-justify-last-justify.html
2014-06-24 18:20:00 +04:00
== text-align-left-in-rtl-block.html text-align-left-in-rtl-block-ref.html
2017-10-22 10:31:41 +03:00
== variation-selector-unsupported-1.html variation-selector-unsupported-1-ref.html
2007-10-20 11:30:26 +04:00
== white-space-1a.html white-space-1-ref.html
== white-space-1b.html white-space-1-ref.html
== white-space-2.html white-space-2-ref.html
2017-10-11 06:52:33 +03:00
== wordbreak-1.html wordbreak-1-ref.html
2012-05-07 23:18:23 +04:00
== wordbreak-2.html wordbreak-2-ref.html
2012-05-07 23:18:24 +04:00
== wordbreak-3.html wordbreak-3-ref.html
2016-10-09 10:51:33 +03:00
skip-if(Android) == wordbreak-4a.html wordbreak-4a-ref.html
2012-05-07 23:18:24 +04:00
== wordbreak-4b.html wordbreak-4b-ref.html
== wordbreak-5.html wordbreak-5-ref.html
2017-09-02 06:39:44 +03:00
fails-if(/^Windows\x20NT\x2010\.0/.test(http.oscpu)) == wordbreak-6.html wordbreak-6-ref.html # Bug 1258239
2017-10-22 10:31:41 +03:00
== wordbreak-7a.html wordbreak-7a-ref.html
fails == wordbreak-7b.html wordbreak-7b-ref.html # bug 479829
2012-05-18 19:51:39 +04:00
== wordbreak-8.html wordbreak-8-ref.html
2017-10-22 10:31:41 +03:00
pref(gfx.font_rendering.graphite.enabled,true) == wordbreak-9.html wordbreak-9-ref.html
2017-04-30 10:20:42 +03:00
== wordbreak-dynamic-1.html wordbreak-dynamic-1-ref.html
2017-06-01 02:44:38 +03:00
== wordwrap-01.html wordwrap-01-ref.html
Bug 1369941: Replace single integers N in fuzzy() and fuzzy-if() with 0-N ranges. r=dholbert
This patch was written entirely by the following script:
#!/bin/bash
if [ ! -d "./.hg" ]
then
echo "Not in a source tree." 1>&2
exit 1
fi
find . -regex '.*\(ref\|crash\)test.*\.list' | while read FILENAME
do
echo "Processing ${FILENAME}."
# The following has four substitutions:
# * The first one replaces the *first* argument to fuzzy() when it doesn't
# have a - in it, by replacing it with an explicit 0-N range.
# * The second one does the same for the *second* argument to fuzzy().
# * The third does the same for the *second* argument to fuzzy-if().
# * The fourth does the same for the *third* argument to fuzzy-if().
#
# Note that this is using perl rather than sed because perl doesn't
# support non-greedy matching, which is needed for the first argument to
# fuzzy-if.
perl -pi -e 's/(fuzzy\()([^ ,()-]*)(,[^ ,()]*\))/${1}0-${2}${3}/g;s/(fuzzy\([^ ,()]*,)([^ ,()-]*)(\))/${1}0-${2}${3}/g;s/(fuzzy-if\([^ ]*?,)([^ ,()-]*)(,[^ ,()]*\))/${1}0-${2}${3}/g;s/(fuzzy-if\([^ ]*?,[^ ,()]*,)([^ ,()-]*)(\))/${1}0-${2}${3}/g' "${FILENAME}"
done
Differential Revision: https://phabricator.services.mozilla.com/D2974
--HG--
extra : moz-landing-system : lando
2018-08-09 23:10:21 +03:00
fuzzy-if(Android,0-1,0-1) == wordwrap-02.html wordwrap-02-ref.html # bug 1363940
fuzzy-if(gtkWidget,0-1,0-177) fuzzy-if(skiaContent,0-1,0-50) == wordwrap-03.html wordwrap-03-ref.html # Fuzzy on Linux because the native textbox gradient is painted in a slightly different position depending on the invalid area.
2008-07-24 11:16:18 +04:00
== wordwrap-04.html wordwrap-04-ref.html
2016-05-24 04:41:03 +03:00
== overflowwrap-04.html wordwrap-04-ref.html
2017-05-04 00:39:30 +03:00
== wordwrap-05.html wordwrap-05-ref.html
== overflowwrap-05.html wordwrap-05-ref.html
2008-07-24 11:16:18 +04:00
== wordwrap-06.html wordwrap-06-ref.html
2016-05-24 04:41:03 +03:00
== overflowwrap-06.html wordwrap-06-ref.html
2008-07-27 20:43:07 +04:00
== wordwrap-07.html wordwrap-07-ref.html
2016-05-24 04:41:03 +03:00
== overflowwrap-07.html wordwrap-07-ref.html
2017-06-01 02:44:38 +03:00
!= wordwrap-08.html wordwrap-01-ref.html
== wordwrap-08.html wordwrap-08-ref.html
!= wordwrap-09.html wordwrap-01-ref.html
!= overflowwrap-09.html wordwrap-01-ref.html
== wordwrap-09.html wordwrap-09-ref.html
== overflowwrap-09.html wordwrap-09-ref.html
2012-05-18 19:51:40 +04:00
== wordwrap-10.html wordwrap-10-ref.html # bug 752459
2016-05-24 04:41:03 +03:00
== overflowwrap-10.html wordwrap-10-ref.html
2008-12-08 21:28:38 +03:00
== word-spacing-01.html word-spacing-01-ref.html
2009-03-30 04:31:51 +04:00
# the following will fail when rendering with Core Text (see bug 389074) due to what appears to be
# an Apple bug: the presence of ZWNJ disturbs the positioning of an adjacent glyph. rdar://6427865
2017-10-22 10:31:41 +03:00
random-if(cocoaWidget) random-if(gtkWidget) == zwnj-01.xhtml zwnj-01-ref.xhtml # gtkWidget:bug 1309113
== zwnj-02.xhtml zwnj-02-ref.xhtml
2010-11-26 00:13:51 +03:00
!= zwnj-01.html zwnj-01-notref.html
2014-03-03 12:02:26 +04:00
== initial-zwj-1.html initial-zwj-1-ref.html
2010-04-29 04:35:11 +04:00
== cgj-01.html cgj-01-ref.html
2018-05-29 20:50:33 +03:00
random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == 444656.html 444656-ref.html # Bug 1392106
2019-06-28 20:30:48 +03:00
fuzzy-if(geckoview,0-4,0-1) == 449555-1.html 449555-1-ref.html
2010-06-18 00:21:24 +04:00
== 467722.html 467722-ref.html
Bug 1369941: Replace single integers N in fuzzy() and fuzzy-if() with 0-N ranges. r=dholbert
This patch was written entirely by the following script:
#!/bin/bash
if [ ! -d "./.hg" ]
then
echo "Not in a source tree." 1>&2
exit 1
fi
find . -regex '.*\(ref\|crash\)test.*\.list' | while read FILENAME
do
echo "Processing ${FILENAME}."
# The following has four substitutions:
# * The first one replaces the *first* argument to fuzzy() when it doesn't
# have a - in it, by replacing it with an explicit 0-N range.
# * The second one does the same for the *second* argument to fuzzy().
# * The third does the same for the *second* argument to fuzzy-if().
# * The fourth does the same for the *third* argument to fuzzy-if().
#
# Note that this is using perl rather than sed because perl doesn't
# support non-greedy matching, which is needed for the first argument to
# fuzzy-if.
perl -pi -e 's/(fuzzy\()([^ ,()-]*)(,[^ ,()]*\))/${1}0-${2}${3}/g;s/(fuzzy\([^ ,()]*,)([^ ,()-]*)(\))/${1}0-${2}${3}/g;s/(fuzzy-if\([^ ]*?,)([^ ,()-]*)(,[^ ,()]*\))/${1}0-${2}${3}/g;s/(fuzzy-if\([^ ]*?,[^ ,()]*,)([^ ,()-]*)(\))/${1}0-${2}${3}/g' "${FILENAME}"
done
Differential Revision: https://phabricator.services.mozilla.com/D2974
--HG--
extra : moz-landing-system : lando
2018-08-09 23:10:21 +03:00
fuzzy-if(skiaContent,0-1,0-600) == 475092-sub.html 475092-ref.html
2019-05-24 21:01:02 +03:00
fails-if(Android) fuzzy-if(skiaContent&&!Android,0-90,0-3100) fuzzy-if(webrender&&cocoaWidget,72-72,353-353) == 475092-pos.html 475092-sub.html # bug 482596
2017-04-22 02:10:50 +03:00
== 476378-soft-hyphen-fallback.html 476378-soft-hyphen-fallback-ref.html
2010-04-30 05:15:44 +04:00
# Test for bug 484954
2010-02-09 05:56:08 +03:00
== rgba-text.html rgba-text-ref.html
2010-07-28 17:36:00 +04:00
# Test for bug 575695, 'kern' table support
2017-10-22 10:31:41 +03:00
!= kerning-01.html kerning-01-notref.html
2010-07-22 13:25:21 +04:00
# Test for bug 577380, support for AAT layout (on OS X only)
2010-07-31 03:48:57 +04:00
random-if(!cocoaWidget) == 577380.html 577380-ref.html
2010-11-20 20:49:12 +03:00
# Test for OpenType Arabic shaping support
2017-10-22 10:31:41 +03:00
== arabic-shaping-1.html arabic-shaping-1-ref.html
2011-04-11 19:33:53 +04:00
# check ligature in Arial Bold on Windows, for bug 644184; may fail on other platforms depending on fonts
random-if(!winWidget) == arial-bold-lam-alef-1.html arial-bold-lam-alef-1-ref.html
2012-04-22 01:25:25 +04:00
# Fallback (presentation-forms) shaping with a font that lacks GSUB/GPOS
2018-03-26 15:25:11 +03:00
== arabic-fallback-1.html arabic-fallback-1-ref.html
== arabic-fallback-2.html arabic-fallback-2-ref.html
== arabic-fallback-3.html arabic-fallback-3-ref.html
== arabic-fallback-4.html arabic-fallback-4-ref.html
2017-04-22 02:10:50 +03:00
== arabic-marks-1.html arabic-marks-1-ref.html
2017-01-30 23:03:33 +03:00
== arabic-final-ligature-spacing.html arabic-final-ligature-spacing-ref.html
2015-01-28 12:03:30 +03:00
# harfbuzz fallback mark stacking in the absence of GPOS:
2017-10-22 10:31:41 +03:00
!= fallback-mark-stacking-1.html fallback-mark-stacking-1-notref.html
2011-12-10 02:32:30 +04:00
2012-02-20 20:49:44 +04:00
== 726392-1.html 726392-1-ref.html
2014-06-24 18:20:00 +04:00
== 726392-2.html 726392-2-ref.html
2016-10-09 10:51:33 +03:00
== 726392-3.html 726392-3-ref.html
2012-04-16 16:54:52 +04:00
== 745555-1.html 745555-1-ref.html
== 745555-2.html 745555-2-ref.html
2012-12-12 11:00:23 +04:00
== 820255.html 820255-ref.html
2017-10-22 10:31:41 +03:00
!= 1170688.html 1170688-ref.html
2017-09-02 06:39:44 +03:00
fails-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == 1320665-cmap-format-13.html 1320665-cmap-format-13-ref.html # see bug 1320665 comments 8-9
2017-10-22 10:31:41 +03:00
== 1331339-script-extensions-shaping-1.html 1331339-script-extensions-shaping-1-ref.html
2017-04-03 17:45:53 +03:00
skip-if(!cocoaWidget) != 1349308-1.html 1349308-notref.html # macOS-specific test for -apple-system glyph metrics
2019-06-11 19:12:03 +03:00
fails-if(/^Windows\x20NT\x2010\.0/.test(http.oscpu)) fails-if(Android&&!geckoview) == 1463020-letter-spacing-text-transform-1.html 1463020-letter-spacing-text-transform-1-ref.html # Android, Win10: regional indicators not supported by system emoji font
2018-05-22 17:56:33 +03:00
fails-if(Android) == 1463020-letter-spacing-text-transform-2.html 1463020-letter-spacing-text-transform-2-ref.html # missing font coverage on Android
2019-02-07 15:13:19 +03:00
== 1507661-spurious-hyphenation-after-explicit.html 1507661-spurious-hyphenation-after-explicit-ref.html
2019-01-26 18:48:38 +03:00
fuzzy-if(!webrender,12-66,288-1660) == 1522857-1.html 1522857-1-ref.html # antialiasing fuzz in non-webrender cases
2012-02-20 20:49:44 +04:00
2012-10-23 13:06:28 +04:00
# ensure emoji chars don't render blank (bug 715798, bug 779042);
# should at least render hexboxes if there's no font support
2019-07-05 00:57:48 +03:00
random-if(geckoview&&webrender) != emoji-01.html emoji-01-notref.html
2012-10-23 13:06:28 +04:00
!= emoji-02.html emoji-02-notref.html
2014-09-30 10:28:28 +04:00
# Bug 727276: tests with variation selectors 15 and 16 to control emoji rendering style
== emoji-03.html emoji-03-ref.html
Bug 1231701 - Ship our own variant of EmojiOne on Windows and Linux, r=glandium, r=dolske, r=jfkthame, r=gerv
This patch bundles a color font named "EmojiOne Mozilla", and turn on
the necessary code for including the bundled font, on Linux and Windows.
With that, users of Linux and Windows <=8.0 is able to see color Emoji
on Firefox without support from System.
The font bundled is the v0.2.1 version, generated from the project repo
in
https://github.com/mozilla/emojione-colr
with artwork from the original EmojiOne font and Twemoji,
under CC BY 4.0 license.
Test files, about:license page, and the packager instruction are
modified accordingly.
MozReview-Commit-ID: 2mmxnA0vS3u
2016-06-15 23:58:49 +03:00
# the next two will fail on OS X 10.6 because no color emoji font is present,
2016-10-09 10:51:33 +03:00
# and also on Android platforms until we have color emoji fonts there.
2018-03-09 03:23:19 +03:00
# Tests rely on bundled Twemoji Mozilla to pass on Windows <8.1 and Linux.
2019-06-11 19:12:03 +03:00
fails-if(Android&&!geckoview) != emoji-03.html emoji-03-notref.html
fails-if(Android&&!geckoview) == emoji-04.html emoji-04-ref.html
2014-09-30 10:28:28 +04:00
!= emoji-05.html emoji-05-notref.html
2013-02-22 17:36:00 +04:00
# check that Graphite shaping (bug 631479) is working
2017-10-22 10:31:41 +03:00
pref(gfx.font_rendering.graphite.enabled,true) == graphite-01.html graphite-01-ref.html
2013-02-22 17:36:00 +04:00
# Test 02 (using Pig Latin) is fuzzy on Win7 because glyph positioning is not guaranteed to match exactly
# between a sequence of simple glyphs rendered individually, and the same sequence treated as a single cluster.
Bug 1369941: Replace single integers N in fuzzy() and fuzzy-if() with 0-N ranges. r=dholbert
This patch was written entirely by the following script:
#!/bin/bash
if [ ! -d "./.hg" ]
then
echo "Not in a source tree." 1>&2
exit 1
fi
find . -regex '.*\(ref\|crash\)test.*\.list' | while read FILENAME
do
echo "Processing ${FILENAME}."
# The following has four substitutions:
# * The first one replaces the *first* argument to fuzzy() when it doesn't
# have a - in it, by replacing it with an explicit 0-N range.
# * The second one does the same for the *second* argument to fuzzy().
# * The third does the same for the *second* argument to fuzzy-if().
# * The fourth does the same for the *third* argument to fuzzy-if().
#
# Note that this is using perl rather than sed because perl doesn't
# support non-greedy matching, which is needed for the first argument to
# fuzzy-if.
perl -pi -e 's/(fuzzy\()([^ ,()-]*)(,[^ ,()]*\))/${1}0-${2}${3}/g;s/(fuzzy\([^ ,()]*,)([^ ,()-]*)(\))/${1}0-${2}${3}/g;s/(fuzzy-if\([^ ]*?,)([^ ,()-]*)(,[^ ,()]*\))/${1}0-${2}${3}/g;s/(fuzzy-if\([^ ]*?,[^ ,()]*,)([^ ,()-]*)(\))/${1}0-${2}${3}/g' "${FILENAME}"
done
Differential Revision: https://phabricator.services.mozilla.com/D2974
--HG--
extra : moz-landing-system : lando
2018-08-09 23:10:21 +03:00
fuzzy-if(winWidget,0-49,0-220) pref(gfx.font_rendering.graphite.enabled,true) == graphite-02.html graphite-02-ref.html
2017-10-22 10:31:41 +03:00
pref(gfx.font_rendering.graphite.enabled,true) != graphite-03a.html graphite-03-notref.html
pref(gfx.font_rendering.graphite.enabled,true) != graphite-03b.html graphite-03-notref.html
pref(gfx.font_rendering.graphite.enabled,false) != graphite-01.html graphite-01-ref.html
pref(gfx.font_rendering.graphite.enabled,false) != graphite-02.html graphite-02-ref.html
2013-11-05 17:49:13 +04:00
# test 03a (lang setting in Padauk font) now works in opentype/harfbuzz as well
2017-10-22 10:31:41 +03:00
pref(gfx.font_rendering.graphite.enabled,false) != graphite-03a.html graphite-03-notref.html
pref(gfx.font_rendering.graphite.enabled,false) == graphite-03b.html graphite-03-notref.html
2013-02-22 17:36:00 +04:00
2013-02-22 17:36:02 +04:00
# tests for graphite rendering with valid and invalid lang tags
2017-10-22 10:31:41 +03:00
pref(gfx.font_rendering.graphite.enabled,true) == graphite-04-fa.html graphite-04-ref.html
pref(gfx.font_rendering.graphite.enabled,true) != graphite-04-sd.html graphite-04-ref.html
pref(gfx.font_rendering.graphite.enabled,true) == graphite-04-snd.html graphite-04-ref.html
pref(gfx.font_rendering.graphite.enabled,true) != graphite-04-ur.html graphite-04-ref.html
pref(gfx.font_rendering.graphite.enabled,true) == graphite-04-urd.html graphite-04-ref.html
pref(gfx.font_rendering.graphite.enabled,true) != graphite-04-sd.html graphite-04-ur.html
2013-02-22 17:36:02 +04:00
2011-12-10 02:32:30 +04:00
# tests to compare graphite to opentype (will trivially pass when graphite not enabled)
2017-10-22 10:31:41 +03:00
== graphite-05-ot-only.html graphite-05-ref.html
!= graphite-05-ot-only.html graphite-05-fail.html
== graphite-05-simple.html graphite-05-ref.html
== graphite-05-multipass.html graphite-05-ref.html
== graphite-05-lang.html graphite-05-ref.html
== graphite-05-badlang.html graphite-05-ref.html
== graphite-05-feat.html graphite-05-ref.html
2011-12-10 02:32:30 +04:00
2012-10-22 11:47:05 +04:00
# comparing composed and decomposed characters that should render identically
# under both OpenType and Graphite shaping
2017-10-22 10:31:41 +03:00
pref(gfx.font_rendering.graphite.enabled,false) == glyph-decomposition-opentype.html glyph-decomposition-opentype-ref.html
pref(gfx.font_rendering.graphite.enabled,true) == glyph-decomposition-graphite.html glyph-decomposition-graphite-ref.html
2012-10-22 11:47:05 +04:00
2015-09-30 10:45:07 +03:00
# test for bidi bug in graphite 1.3.2, fixed in 1.3.3 (bug 1207061)
2017-10-22 10:31:41 +03:00
== graphite-bidi-1.html graphite-bidi-1-ref.html
2015-09-30 10:45:07 +03:00
2017-10-22 10:31:41 +03:00
== graphite-surrogate-selection.html graphite-surrogate-selection-ref.html
2016-05-18 17:22:59 +03:00
2015-09-15 04:09:30 +03:00
# Tests for hyphenation with hyphens property
2011-09-29 13:40:28 +04:00
== auto-hyphenation-1.html auto-hyphenation-1-ref.html
!= auto-hyphenation-1.html auto-hyphenation-1-notref.html
== auto-hyphenation-1a.html auto-hyphenation-1-ref.html
== auto-hyphenation-2.html auto-hyphenation-2-ref.html
== auto-hyphenation-3.html auto-hyphenation-3-ref.html
== auto-hyphenation-4.html auto-hyphenation-4-ref.html
== auto-hyphenation-5.html auto-hyphenation-5-ref.html
== auto-hyphenation-6.html auto-hyphenation-6-ref.html
== auto-hyphenation-7.html auto-hyphenation-7-ref.html
2013-01-18 00:20:27 +04:00
== auto-hyphenation-8.html auto-hyphenation-8-ref.html
== auto-hyphenation-9.html auto-hyphenation-9-ref.html
== auto-hyphenation-10.html auto-hyphenation-10-ref.html
2013-05-30 12:00:20 +04:00
== auto-hyphenation-xmllang-1.xhtml auto-hyphenation-1-ref.html
!= auto-hyphenation-xmllang-1.xhtml auto-hyphenation-1-notref.html
== auto-hyphenation-xmllang-1a.xhtml auto-hyphenation-1-ref.html
== auto-hyphenation-xmllang-2.xhtml auto-hyphenation-2-ref.html
== auto-hyphenation-xmllang-3.xhtml auto-hyphenation-3-ref.html
== auto-hyphenation-xmllang-4.xhtml auto-hyphenation-4-ref.html
== auto-hyphenation-xmllang-5.xhtml auto-hyphenation-5-ref.html
== auto-hyphenation-xmllang-6.xhtml auto-hyphenation-6-ref.html
== auto-hyphenation-xmllang-7.xhtml auto-hyphenation-7-ref.html
== auto-hyphenation-xmllang-8.xhtml auto-hyphenation-8-ref.html
== auto-hyphenation-xmllang-9.xhtml auto-hyphenation-9-ref.html
== auto-hyphenation-xmllang-10.xhtml auto-hyphenation-10-ref.html
== auto-hyphenation-xmllang-11a.xhtml auto-hyphenation-1-ref.html
== auto-hyphenation-xmllang-11b.xhtml auto-hyphenation-1-ref.html
== auto-hyphenation-xmllang-12a.xhtml auto-hyphenation-4-ref.html
== auto-hyphenation-xmllang-12b.xhtml auto-hyphenation-4-ref.html
== auto-hyphenation-xmllang-13a.xhtml auto-hyphenation-1-ref.html
== auto-hyphenation-xmllang-13b.xhtml auto-hyphenation-1-ref.html
== auto-hyphenation-xmllang-14a.xhtml auto-hyphenation-4-ref.html
== auto-hyphenation-xmllang-14b.xhtml auto-hyphenation-4-ref.html
2011-11-16 00:04:47 +04:00
== auto-hyphenation-af-1.html auto-hyphenation-af-1-ref.html
== auto-hyphenation-bg-1.html auto-hyphenation-bg-1-ref.html
== auto-hyphenation-ca-1.html auto-hyphenation-ca-1-ref.html
== auto-hyphenation-cy-1.html auto-hyphenation-cy-1-ref.html
== auto-hyphenation-da-1.html auto-hyphenation-da-1-ref.html
== auto-hyphenation-de-1901-1.html auto-hyphenation-de-1901-1-ref.html
== auto-hyphenation-de-1996-1.html auto-hyphenation-de-1996-1-ref.html
!= auto-hyphenation-de-1901-1.html auto-hyphenation-de-1996-1.html
== auto-hyphenation-de-ch-1.html auto-hyphenation-de-ch-1-ref.html
== auto-hyphenation-eo-1.html auto-hyphenation-eo-1-ref.html
== auto-hyphenation-es-1.html auto-hyphenation-es-1-ref.html
== auto-hyphenation-et-1.html auto-hyphenation-et-1-ref.html
== auto-hyphenation-fi-1.html auto-hyphenation-fi-1-ref.html
== auto-hyphenation-fr-1.html auto-hyphenation-fr-1-ref.html
== auto-hyphenation-gl-1.html auto-hyphenation-gl-1-ref.html
== auto-hyphenation-hr-1.html auto-hyphenation-hr-1-ref.html
== auto-hyphenation-hsb-1.html auto-hyphenation-hsb-1-ref.html
== auto-hyphenation-hu-1.html auto-hyphenation-hu-1-ref.html
== auto-hyphenation-ia-1.html auto-hyphenation-ia-1-ref.html
== auto-hyphenation-is-1.html auto-hyphenation-is-1-ref.html
== auto-hyphenation-it-1.html auto-hyphenation-it-1-ref.html
== auto-hyphenation-kmr-1.html auto-hyphenation-kmr-1-ref.html
== auto-hyphenation-la-1.html auto-hyphenation-la-1-ref.html
== auto-hyphenation-lt-1.html auto-hyphenation-lt-1-ref.html
== auto-hyphenation-mn-1.html auto-hyphenation-mn-1-ref.html
== auto-hyphenation-nb-1.html auto-hyphenation-nb-1-ref.html
== auto-hyphenation-nl-1.html auto-hyphenation-nl-1-ref.html
== auto-hyphenation-nn-1.html auto-hyphenation-nn-1-ref.html
2017-05-06 03:01:23 +03:00
== auto-hyphenation-pl-1.html auto-hyphenation-pl-1-ref.html
2011-11-16 00:04:47 +04:00
== auto-hyphenation-pt-1.html auto-hyphenation-pt-1-ref.html
== auto-hyphenation-ru-1.html auto-hyphenation-ru-1-ref.html
== auto-hyphenation-sh-1.html auto-hyphenation-sh-1-ref.html
== auto-hyphenation-sl-1.html auto-hyphenation-sl-1-ref.html
== auto-hyphenation-sr-1.html auto-hyphenation-sr-1-ref.html
== auto-hyphenation-sv-1.html auto-hyphenation-sv-1-ref.html # test swedish patterns
!= auto-hyphenation-sv-1.html auto-hyphenation-sv-1-notref.html # verify swedish != english
== auto-hyphenation-tr-1.html auto-hyphenation-tr-1-ref.html
== auto-hyphenation-uk-1.html auto-hyphenation-uk-1-ref.html
2015-02-22 22:39:38 +03:00
== auto-hyphenation-transformed-1.html auto-hyphenation-transformed-1-ref.html
2013-07-30 00:01:24 +04:00
2019-06-10 18:00:29 +03:00
== hyphenation-caps-1.html hyphenation-caps-1-ref.html
2017-04-30 10:20:42 +03:00
== hyphenation-control-1.html hyphenation-control-1-ref.html
== hyphenation-control-2.html hyphenation-control-2-ref.html
== hyphenation-control-3.html hyphenation-control-3-ref.html
2017-11-16 14:19:07 +03:00
== hyphenation-control-4.html hyphenation-control-4-ref.html
2018-09-10 22:30:44 +03:00
fuzzy-if(winWidget,0-56,0-6) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == hyphenation-control-5.html hyphenation-control-5-ref.html # Bug 1392106
2018-08-27 21:38:37 +03:00
random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == hyphenation-control-6.html hyphenation-control-6-ref.html # Bug 1392106
2018-07-28 11:23:36 +03:00
== hyphenation-control-7.html hyphenation-control-7-ref.html
2017-03-13 07:54:05 +03:00
2013-07-30 00:01:24 +04:00
# osx-font-smoothing - with and without subpixel AA, only under OSX
2017-09-02 06:39:44 +03:00
fails-if(!cocoaWidget) != osx-font-smoothing.html osx-font-smoothing-ref.html
fails-if(!cocoaWidget) != osx-font-smoothing-2.html osx-font-smoothing-2-notref.html
2013-08-03 11:59:00 +04:00
== osx-font-smoothing-2.html osx-font-smoothing-2-ref.html
2013-10-28 00:56:32 +04:00
2015-09-11 18:47:34 +03:00
# stray control chars should be visible by default, bug 1099557
2017-06-01 02:44:38 +03:00
!= control-chars-01a.html control-chars-01-notref.html
!= control-chars-01b.html control-chars-01-notref.html
!= control-chars-01c.html control-chars-01-notref.html
!= control-chars-01d.html control-chars-01-notref.html
2014-02-05 14:23:50 +04:00
!= control-chars-02.html control-chars-02-notref.html
2017-04-26 14:13:05 +03:00
== control-chars-03a.html control-chars-03-ref.html
== control-chars-03b.html control-chars-03-ref.html
2015-10-01 14:26:52 +03:00
pref(layout.css.control-characters.visible,true) != control-chars-04a.html control-chars-04-notref.html
pref(layout.css.control-characters.visible,true) != control-chars-04b.html control-chars-04-notref.html
pref(layout.css.control-characters.visible,true) != control-chars-04c.html control-chars-04-notref.html
pref(layout.css.control-characters.visible,true) != control-chars-04d.html control-chars-04-notref.html
2014-02-12 02:17:25 +04:00
# font fallback for <space> when not supported in the primary font family - bug 970891
2017-10-22 10:31:41 +03:00
== space-font-1.html space-font-1-ref.html
2016-01-01 13:29:26 +03:00
# handling of highly negative letter-spacing and intrinsic width
2016-01-01 13:29:27 +03:00
== negative-letter-spacing-1.html negative-letter-spacing-1-ref.html
2018-05-29 20:50:33 +03:00
random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == segment-break-transformation-1.html segment-break-transformation-1-ref.html # Bug 1392106
2017-02-23 02:09:52 +03:00
# color glyphs, opacity, and RTL runs - bug 1318539
2017-02-23 02:10:29 +03:00
== color-opacity-rtl-1.html color-opacity-rtl-1-ref.html
== color-opacity-rtl-2.html color-opacity-rtl-2-ref.html
2017-02-25 02:05:57 +03:00
== letter-spacing-nolig-1.html letter-spacing-nolig-1-ref.html
2017-10-22 10:31:41 +03:00
== letter-spacing-nolig-2.html letter-spacing-nolig-2.html
2017-08-31 20:08:20 +03:00
== ethiopic-wordspace.html ethiopic-wordspace-ref.html
2019-02-08 14:02:36 +03:00
# sub and sup elements should be influenced by their container's line-height - bug 1524897
== sub-sup-and-line-height.html sub-sup-and-line-height-ref.html