gecko-dev/layout/reftests/css-gradients
L. David Baron 1e88f0f003 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 20:10:21 +00:00
..
1224761-1-ref.html Bug 1224761 - Fix forceRepeatToCoverTiles optimization to not trigger when all stops at left edge of tile. r=roc 2015-11-24 07:23:14 -08:00
1224761-1.html Bug 1224761 - Fix forceRepeatToCoverTiles optimization to not trigger when all stops at left edge of tile. r=roc 2015-11-24 07:23:14 -08:00
aja-linear-1-ref.html
aja-linear-1a.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
aja-linear-1b.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
aja-linear-1c.html
aja-linear-1d.html
aja-linear-1e.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
aja-linear-1f.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
aja-linear-2-ref.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
aja-linear-2.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
aja-linear-3-ref.html
aja-linear-3a.html
aja-linear-3b.html
aja-linear-4-ref.html
aja-linear-4a.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
aja-linear-4b.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
aja-linear-5-ref.html
aja-linear-5a.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
bug-916535-background-repeat-linear-ref.html
bug-916535-background-repeat-linear.html
height-dependence-1-ref.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
height-dependence-1.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
height-dependence-2-ref.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
height-dependence-2.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
height-dependence-3-ref.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
height-dependence-3.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
large-gradient-1-ref.html
large-gradient-1.html
large-gradient-2-ref.html
large-gradient-2.html
large-gradient-3-ref.html
large-gradient-3.html
large-gradient-4-ref.html
large-gradient-4.html
large-gradient-5-ref.html Bug 1271112 - Check transformed gradient end points for fixed point overflow, not the size of the gradient. r=jrmuizel 2016-05-12 17:45:38 -04:00
large-gradient-5.html Bug 1271112 - Check transformed gradient end points for fixed point overflow, not the size of the gradient. r=jrmuizel 2016-05-12 17:45:38 -04:00
linear-1-ref.html
linear-1a.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-diagonal-1-ref.html
linear-diagonal-1a.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-diagonal-2-ref.html
linear-diagonal-2a.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-diagonal-3-ref.html
linear-diagonal-3a.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-diagonal-4-ref.html
linear-diagonal-4a.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-flipped-1-ref.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-flipped-1.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-keywords-1-ref.html
linear-keywords-1a.html
linear-onestopposition-1-ref.html
linear-onestopposition-1-ref2.html
linear-onestopposition-1.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-position-1-ref.html
linear-position-1a.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-premul-ref.html
linear-premul.html
linear-repeat-1-ref.html
linear-repeat-1a.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-repeat-1b.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-repeat-1c.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-repeat-1d.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-repeat-1e.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-repeat-1f.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-repeat-1g.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-rotated-1-ref.html
linear-rotated-1.html
linear-size-1-ref.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-size-1a.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-stops-1-ref.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-stops-1a.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-stops-1b.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-stops-1c.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-stops-1d.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-stops-1e.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-stops-1f.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-vertical-1-ref.html
linear-vertical-1a.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-vertical-1b.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-vertical-1c.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-vertical-1d.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-vertical-subpixel-1-ref.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-vertical-subpixel-1.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-viewport-ref.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-viewport.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
mask-gradient-translucent-end-color-1-ref.html Bug 1329411 - Correct wrong alpha value caused by the sixth patch in bug 1323912, and a test case. r=mstange 2017-01-09 10:41:42 +08:00
mask-gradient-translucent-end-color-1.html Bug 1329411 - Correct wrong alpha value caused by the sixth patch in bug 1323912, and a test case. r=mstange 2017-01-09 10:41:42 +08:00
nostops.html
onestop.html
orange-square.html
radial-1-ref.html
radial-1a.html
radial-1b.html
radial-2-ref.html
radial-2a.html
radial-2b.html
radial-2c.html
radial-2d.html
radial-onestopposition-1-ref.html
radial-onestopposition-1a.html
radial-onestopposition-1b.html
radial-position-1-ref.html
radial-position-1a.html
radial-position-1b.html
radial-premul-ref.html
radial-premul.html
radial-shape-closest-corner-1-ref.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
radial-shape-closest-corner-1a.html
radial-shape-closest-corner-1b.html
radial-shape-closest-side-1-ref.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
radial-shape-closest-side-1a.html
radial-shape-closest-side-1b.html
radial-shape-farthest-corner-1-ref.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
radial-shape-farthest-corner-1a.html
radial-shape-farthest-corner-1b.html
radial-shape-farthest-side-1-ref.html
radial-shape-farthest-side-1a.html
radial-shape-farthest-side-1b.html
radial-size-1-ref.html
radial-size-1a.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
radial-size-1b.html
radial-zero-length-1-ref.html
radial-zero-length-1a.html
radial-zero-length-1b.html
radial-zero-length-1c.html
radial-zero-length-1d.html
radial-zero-length-1e.html
radial-zero-length-1f.html
reftest.list Bug 1369941: Replace single integers N in fuzzy() and fuzzy-if() with 0-N ranges. r=dholbert 2018-08-09 20:10:21 +00:00
repeated-final-stop-1-ref.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
repeated-final-stop-1.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
repeating-linear-1-ref.html
repeating-linear-1a.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
repeating-linear-1b.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
repeating-linear-2-ref.html
repeating-linear-2a.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
repeating-linear-onestopposition-1.html
repeating-radial-1-ref.html
repeating-radial-1a.html
repeating-radial-1b.html
repeating-radial-1c.html
repeating-radial-1d.html
repeating-radial-2-ref.html
repeating-radial-2a.html
repeating-radial-2b.html
repeating-radial-onestopposition-1a.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
repeating-radial-onestopposition-1b.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
twostops-1-ref.html
twostops-1a.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
twostops-1b.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
twostops-1c.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
twostops-1d.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
twostops-1e.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00