2008-09-23 00:27:37 +04:00
|
|
|
# Transforms specifying singular matrices shouldn't display at all.
|
|
|
|
# NOTE: Regressions might manifest themselves as reftest timeouts on
|
|
|
|
# this test.
|
2017-04-26 14:13:05 +03:00
|
|
|
== singular-1a.html about:blank
|
2008-09-20 18:39:31 +04:00
|
|
|
# Multiple transforms should act identically to nested divs.
|
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(webrender,0-1,0-27) == compound-1a.html compound-1-ref.html
|
2017-04-26 14:13:05 +03:00
|
|
|
!= compound-1a.html compound-1-fail.html
|
|
|
|
== dynamic-inherit-1.html dynamic-inherit-1-ref.html
|
2014-06-24 18:20:00 +04:00
|
|
|
== dynamic-addremove-1a.html dynamic-addremove-1-ref.html
|
|
|
|
== dynamic-addremove-1b.html dynamic-addremove-1-ref.html
|
|
|
|
== dynamic-addremove-1c.html dynamic-addremove-1-ref.html
|
2016-08-26 22:38:16 +03:00
|
|
|
== dynamic-addremove-2.html dynamic-addremove-2-ref.html
|
2008-09-13 13:42:11 +04:00
|
|
|
# translatex should act like position: relative
|
2017-05-04 00:39:30 +03:00
|
|
|
== translatex-1a.html translatex-1-ref.html
|
|
|
|
== translatex-1b.html translatex-1-ref.html
|
|
|
|
== translatex-1c.html translatex-1-ref.html
|
|
|
|
== translatex-1d.html translatex-1-ref.html
|
|
|
|
== translatex-1e.html translatex-1-ref.html
|
|
|
|
== translatex-1a.html translatex-1-ref-2.html
|
2008-09-13 13:42:11 +04:00
|
|
|
# translatey should act like position: relative
|
2017-04-26 14:13:05 +03:00
|
|
|
== translatey-1a.html translatey-1-ref.html
|
|
|
|
== translatey-1b.html translatey-1-ref.html
|
|
|
|
== translatey-1c.html translatey-1-ref.html
|
|
|
|
== translatey-1d.html translatey-1-ref.html
|
|
|
|
== translatey-1e.html translatey-1-ref.html
|
2008-09-13 13:42:11 +04:00
|
|
|
# matrices defined to be translations should act like position: relative
|
2017-05-04 00:39:30 +03:00
|
|
|
== translatex-2.html translatex-1-ref.html
|
2017-04-26 14:13:05 +03:00
|
|
|
== translatey-2.html translatey-1-ref.html
|
2008-09-13 13:42:11 +04:00
|
|
|
# translate should act like position: relative
|
2017-05-04 00:39:30 +03:00
|
|
|
!= translate-1a.html translate-1-ref.html
|
|
|
|
== translate-1b.html translate-1-ref.html
|
|
|
|
== translate-1c.html translate-1-ref.html
|
|
|
|
== translate-1d.html translate-1-ref.html
|
|
|
|
== translate-1e.html translate-1-ref.html
|
|
|
|
== translate-2a.html translate-2-ref.html
|
2017-08-05 03:57:28 +03:00
|
|
|
== translate-3.html translate-3-ref.html
|
2008-09-22 22:59:37 +04:00
|
|
|
# rotate: Several rotations of the same object should be idempotent. These
|
|
|
|
# tests are currently disabled because of subpixel (< 0.00001 gfx units)
|
|
|
|
# rounding errors.
|
|
|
|
random == rotate-1a.html rotate-1-ref.html
|
|
|
|
random == rotate-1b.html rotate-1-ref.html
|
|
|
|
random == rotate-1c.html rotate-1-ref.html
|
|
|
|
random == rotate-1d.html rotate-1-ref.html
|
|
|
|
random == rotate-1e.html rotate-1-ref.html
|
2012-02-04 09:01:23 +04:00
|
|
|
random == rotate-1f.html rotate-1-ref.html
|
2008-09-22 22:59:37 +04:00
|
|
|
# rotate: 90deg rotations should be indistinguishable from objects constructed
|
|
|
|
# to look the same.
|
2017-04-26 14:13:05 +03:00
|
|
|
== rotate-2a.html rotate-2-ref.html
|
|
|
|
== rotate-2b.html rotate-2-ref.html
|
2015-09-16 00:10:48 +03:00
|
|
|
# -transform-origin: We should NOT get the same images when using different
|
|
|
|
# -transform-origins.
|
2017-04-26 14:13:05 +03:00
|
|
|
!= origin-1a.html origin-1-ref.html
|
|
|
|
!= origin-1b.html origin-1-ref.html
|
2015-09-16 00:10:48 +03:00
|
|
|
# -transform-origin: We should get the same images when using equivalent
|
|
|
|
# -transform-origins.
|
2017-07-15 17:24:45 +03:00
|
|
|
== origin-2a.html origin-2-ref.html
|
|
|
|
== origin-2b.html origin-2-ref.html
|
|
|
|
== origin-2c.html origin-2-ref.html
|
2008-09-20 18:39:31 +04:00
|
|
|
# "Translate" with percentages should be indistinguishable from translate with
|
2008-09-22 22:59:37 +04:00
|
|
|
# equivalent values.
|
2017-04-26 14:13:05 +03:00
|
|
|
== percent-1a.html percent-1-ref.html
|
|
|
|
== percent-1b.html percent-1-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-80) == percent-1c.html percent-1-ref.html
|
|
|
|
fuzzy-if(skiaContent,0-1,0-80) == percent-1d.html percent-1-ref.html
|
|
|
|
fuzzy-if(skiaContent,0-1,0-80) == percent-1e.html percent-1-ref.html
|
|
|
|
fuzzy-if(skiaContent,0-1,0-80) == percent-1f.html percent-1-ref.html
|
|
|
|
fuzzy-if(skiaContent,0-1,0-80) == percent-1g.html percent-1-ref.html
|
2008-09-13 13:42:11 +04:00
|
|
|
# Transformed elements are abs-pos and fixed-pos containing blocks.
|
2017-04-26 14:13:05 +03:00
|
|
|
== abspos-1a.html abspos-1-ref.html
|
|
|
|
== abspos-1b.html abspos-1-ref.html
|
|
|
|
== abspos-1c.html abspos-1-ref.html
|
|
|
|
== abspos-1d.html abspos-1-ref.html
|
|
|
|
!= abspos-1e.html abspos-1-ref.html
|
|
|
|
== abspos-1f.html abspos-1-ref.html
|
|
|
|
== abspos-1g.html abspos-1-ref.html
|
2008-09-13 13:42:11 +04:00
|
|
|
# Origin can use "top" "right" etc.
|
2017-04-26 14:13:05 +03:00
|
|
|
== origin-name-1a.html origin-name-1-ref.html
|
|
|
|
== origin-name-1b.html origin-name-1-ref.html
|
|
|
|
== origin-name-2a.html origin-name-2-ref.html
|
|
|
|
== origin-name-2b.html origin-name-2-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-350) == origin-name-2c.html origin-name-2-ref.html
|
2017-04-26 14:13:05 +03:00
|
|
|
== origin-name-3a.html origin-name-3-ref.html
|
|
|
|
== origin-name-3b.html origin-name-3-ref.html
|
2010-06-28 04:29:57 +04:00
|
|
|
# Snapping still applies after 90 degree rotations.
|
|
|
|
== snapping-1.html snapping-1-ref.html
|
2008-09-13 13:42:11 +04:00
|
|
|
# SVG effects should work on transforms.
|
2017-04-26 14:13:05 +03:00
|
|
|
== transform-svg-1a.xhtml transform-svg-1-ref.xhtml
|
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-2,0-500) == transform-svg-2a.xhtml transform-svg-2-ref.xhtml
|
2017-04-26 14:13:05 +03:00
|
|
|
!= transform-svg-2a.xhtml transform-svg-2-fail.xhtml
|
2012-07-30 17:48:02 +04:00
|
|
|
# skew should allow a mix of one and two parameters.
|
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(webrender,0-1,0-20) == skew-1a.html skew-1-ref.html
|
|
|
|
fuzzy-if(skiaContent,0-1,0-80) == skew-1b.html skew-1-ref.html
|
|
|
|
fuzzy-if(webrender,0-1,0-250) == skew-2a.html skew-2-ref.html
|
2008-09-21 09:14:52 +04:00
|
|
|
# matrix with values equal to other transforms should behave indistinguishably
|
2017-04-26 14:13:05 +03:00
|
|
|
== matrix-1a.html matrix-1-ref.html
|
|
|
|
== matrix-2a.html matrix-2-ref.html
|
|
|
|
== matrix-3a.html matrix-3-ref.html
|
|
|
|
== matrix-4a.html matrix-4-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-120) == matrix-5a.html matrix-5-ref.html
|
|
|
|
fuzzy-if(skiaContent,0-1,0-110) == matrix-6a.html matrix-6-ref.html
|
2017-04-26 14:13:05 +03:00
|
|
|
== matrix-7a.html matrix-7-ref.html
|
2009-01-16 21:52:24 +03:00
|
|
|
# ensure matrix 3d does not break us - should do nothing
|
|
|
|
== matrix3d-1.html matrix3d-1-ref.html
|
|
|
|
# Test that complex transform can be reversed
|
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-2,0-5) == stresstest-1.html stresstest-1-ref.html
|
2009-01-16 21:52:24 +03:00
|
|
|
# Test scale transforms
|
2017-04-26 14:13:05 +03:00
|
|
|
== scalex-1.html scalex-1-ref.html
|
|
|
|
== scaley-1.html scaley-1-ref.html
|
|
|
|
== scale-1a.html scale-1-ref.html
|
|
|
|
== scale-1b.html scale-1-ref.html
|
2009-01-16 21:52:24 +03:00
|
|
|
== scale-percent-1.html scale-percent-1-ref.html
|
|
|
|
# Some simple checks that it obeys selector operations
|
2017-04-26 14:13:05 +03:00
|
|
|
== descendant-1.html descendant-1-ref.html
|
|
|
|
== propagate-inherit-boolean.html propagate-inherit-boolean-ref.html
|
2009-01-16 21:52:24 +03:00
|
|
|
# Ensure you can't move outside an iframe
|
2017-04-26 14:13:05 +03:00
|
|
|
== iframe-1.html iframe-1-ref.html
|
2010-11-27 02:31:08 +03:00
|
|
|
# Bugs
|
2017-04-24 15:54:51 +03:00
|
|
|
== 601894-1.html 601894-ref.html
|
|
|
|
== 601894-2.html 601894-ref.html
|
2014-06-24 18:20:00 +04:00
|
|
|
== 830299-1.html 830299-1-ref.html
|
2012-02-11 01:05:00 +04:00
|
|
|
# Bug 722777
|
2017-04-26 14:13:05 +03:00
|
|
|
== table-1a.html table-1-ref.html
|
|
|
|
== table-1b.html table-1-ref.html
|
|
|
|
== table-1c.html table-1-ref.html
|
|
|
|
== table-2a.html table-2-ref.html
|
|
|
|
== table-2b.html table-2-ref.html
|
2012-02-15 00:33:06 +04:00
|
|
|
# Bug 722463
|
|
|
|
== inline-1a.html inline-1-ref.html
|
2015-09-16 00:10:48 +03:00
|
|
|
pref(svg.transform-box.enabled,true) == transform-box-svg-1a.svg transform-box-svg-1-ref.svg
|
|
|
|
pref(svg.transform-box.enabled,true) == transform-box-svg-1b.svg transform-box-svg-1-ref.svg
|
|
|
|
pref(svg.transform-box.enabled,true) == transform-box-svg-2a.svg transform-box-svg-2-ref.svg
|
|
|
|
pref(svg.transform-box.enabled,true) == transform-box-svg-2b.svg transform-box-svg-2-ref.svg
|
2017-02-02 19:57:10 +03:00
|
|
|
pref(svg.transform-box.enabled,true) == transform-box-svg-3a.svg pass.svg
|
2015-09-16 00:10:48 +03:00
|
|
|
== transform-origin-svg-1a.svg transform-origin-svg-1-ref.svg
|
|
|
|
== transform-origin-svg-1b.svg transform-origin-svg-1-ref.svg
|
|
|
|
== transform-origin-svg-2a.svg transform-origin-svg-2-ref.svg
|
|
|
|
== transform-origin-svg-2b.svg transform-origin-svg-2-ref.svg
|
2015-06-30 02:46:16 +03:00
|
|
|
# Bug 1122526
|
|
|
|
== animate-layer-scale-inherit-1.html animate-layer-scale-inherit-1-ref.html
|
2015-06-30 02:46:16 +03:00
|
|
|
== animate-layer-scale-inherit-2.html animate-layer-scale-inherit-2-ref.html
|
2017-09-28 17:36:04 +03:00
|
|
|
== animate-layer-scale-inherit-3.html animate-layer-scale-inherit-1-ref.html
|
2016-09-30 00:15:32 +03:00
|
|
|
# Bug 1301500
|
|
|
|
== dynamic-add-without-change-cb-1.html dynamic-add-without-change-cb-1-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(d2d,0-1,0-5) fuzzy-if(skiaContent,0-26,0-208) == table-overflowed-by-animation.html table-overflowed-by-animation-ref.html
|
2018-03-19 17:06:08 +03:00
|
|
|
== translate-rounding-1.html translate-rounding-ref.html
|
|
|
|
== translate-rounding-2.html translate-rounding-ref.html
|
|
|
|
fails == translate-rounding-3.html translate-rounding-viewport-ref.html # bug 1397146
|
2018-07-26 01:25:08 +03:00
|
|
|
== invalidate-transform-1.html invalidate-transform-1-ref.html
|