gecko-dev/layout/reftests/border-image
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
..
3x3green-1DD813.png
3x3multicolor.png
3x3transparent.png
4x4multicolor.png
10x5multicolor.png
470250-1-ref.html
470250-1.html
470250-2-ref.html
470250-2.html Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
border-image-element-ref.html
border-image-element.html
border-image-linear-gradient-outset-ref.html
border-image-linear-gradient-outset.html
border-image-linear-gradient-ref.html
border-image-linear-gradient-repeat-repeat-1-ref.html
border-image-linear-gradient-repeat-repeat-1.html
border-image-linear-gradient-repeat-repeat-2-ref.html
border-image-linear-gradient-repeat-repeat-2.html
border-image-linear-gradient-repeat-repeat-3-ref.html
border-image-linear-gradient-repeat-repeat-3.html
border-image-linear-gradient-repeat-round-1-ref.html
border-image-linear-gradient-repeat-round-1.html
border-image-linear-gradient-repeat-round-2-ref.html
border-image-linear-gradient-repeat-round-2.html
border-image-linear-gradient-repeat-round-3-ref.html
border-image-linear-gradient-repeat-round-3.html
border-image-linear-gradient-slice-1-ref.html
border-image-linear-gradient-slice-1.html
border-image-linear-gradient-slice-2-ref.html
border-image-linear-gradient-slice-2.html
border-image-linear-gradient-slice-fill-1-ref.html
border-image-linear-gradient-slice-fill-1.html
border-image-linear-gradient-slice-fill-2-ref.html
border-image-linear-gradient-slice-fill-2.html
border-image-linear-gradient-slice-width-ref.html
border-image-linear-gradient-slice-width.html
border-image-linear-gradient-width-ref.html
border-image-linear-gradient-width.html
border-image-linear-gradient.html
border-image-nofill-1-ref.html
border-image-nofill-1.html
border-image-outset-1-ref.html
border-image-outset-1a.html
border-image-outset-1b.html
border-image-outset-1c.html
border-image-outset-move-1-ref.html
border-image-outset-move-1.html
border-image-outset-resize-1-ref.html
border-image-outset-resize-1.html
border-image-radial-gradient-ref.html
border-image-radial-gradient-slice-1-ref.html
border-image-radial-gradient-slice-1.html
border-image-radial-gradient-slice-2-ref.html
border-image-radial-gradient-slice-2.html
border-image-radial-gradient-slice-fill-1-ref.html
border-image-radial-gradient-slice-fill-1.html
border-image-radial-gradient-slice-fill-2-ref.html
border-image-radial-gradient-slice-fill-2.html
border-image-radial-gradient-slice-width-ref.html
border-image-radial-gradient-slice-width.html
border-image-radial-gradient-width-ref.html
border-image-radial-gradient-width.html
border-image-radial-gradient.html
border-image-repeating-linear-gradient-ref.html
border-image-repeating-linear-gradient-repeat-round-2-ref.html
border-image-repeating-linear-gradient-repeat-round-2.html
border-image-repeating-linear-gradient-slice-fill-2-ref.html
border-image-repeating-linear-gradient-slice-fill-2.html
border-image-repeating-linear-gradient.html
border-image-repeating-radial-gradient-ref.html
border-image-repeating-radial-gradient-repeat-repeat-2-ref.html
border-image-repeating-radial-gradient-repeat-repeat-2.html
border-image-repeating-radial-gradient-repeat-round-2-ref.html
border-image-repeating-radial-gradient-repeat-round-2.html
border-image-repeating-radial-gradient-slice-1-ref.html
border-image-repeating-radial-gradient-slice-1.html
border-image-repeating-radial-gradient-slice-2-ref.html
border-image-repeating-radial-gradient-slice-2.html
border-image-repeating-radial-gradient-slice-fill-1-ref.html
border-image-repeating-radial-gradient-slice-fill-1.html
border-image-repeating-radial-gradient-slice-fill-2-ref.html
border-image-repeating-radial-gradient-slice-fill-2.html
border-image-repeating-radial-gradient-slice-width-ref.html
border-image-repeating-radial-gradient-slice-width.html
border-image-repeating-radial-gradient-width-ref.html
border-image-repeating-radial-gradient-width.html
border-image-repeating-radial-gradient.html
border-image-style-none-auto-ref.html
border-image-style-none-auto.html
border-image-style-none-length-ref.html
border-image-style-none-length.html
border-image-style-none-ref.html
border-image-style-none.html
border-image-width-1-ref.html
border-image-width-1a.html
border-image-width-1b.html
border-image-width-1c.html
border-image-width-large-ref.html
border-image-width-large.html
center-scaling-1-ref.html
center-scaling-1.html
center-scaling-2-ref.html
center-scaling-2.html
center-scaling-3-ref.html
center-scaling-3.html
center-scaling-4b-ref.html
center-scaling-4b.html
center-scaling-4l-ref.html
center-scaling-4l.html
center-scaling-4lr-ref.html
center-scaling-4lr.html
center-scaling-4r-ref.html
center-scaling-4r.html
center-scaling-4t-ref.html
center-scaling-4t.html
center-scaling-4tb-ref.html
center-scaling-4tb.html
diamonds.png
different-h-v-1.html
different-h-v-2.html
different-h-v-ref.html
gen-refs.py
multicolor-image-1-ref.html
multicolor-image-1.html
multicolor-image-2-ref.html
multicolor-image-2.html
multicolor-image-3-ref.html
multicolor-image-3.html
multicolor-image-4-ref.html
multicolor-image-4.html
multicolor-image-5-ref.html
multicolor-image-5.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
repeat-image-1-ref.html
repeat-image-1.html
reticule-bl.png
reticule-bo.png
reticule-br.png
reticule-ct.png
reticule-le.png
reticule-ri.png
reticule-tl.png
reticule-to.png
reticule-tr.png
reticule.png
roundrectbutton.png
side-scaling-1h-ref.html
side-scaling-1h.html
side-scaling-1v-ref.html
side-scaling-1v.html
solid-image-1-ref.html
solid-image-1.html
solid-image-1a.html
solid-image-2-ref.html
solid-image-2.html
solid-image-2a.html
svg-as-border-image-1-ref.html Bug 619500: Part 3. svg-as-borderimage test cases; r=dholbert 2016-03-08 15:54:14 +08:00
svg-as-border-image-1a.html Bug 619500: Part 3. svg-as-borderimage test cases; r=dholbert 2016-03-08 15:54:14 +08:00
svg-as-border-image-1b.html Bug 619500: Part 3. svg-as-borderimage test cases; r=dholbert 2016-03-08 15:54:14 +08:00
svg-as-border-image-1c.html Bug 619500: Part 3. svg-as-borderimage test cases; r=dholbert 2016-03-08 15:54:14 +08:00
svg-as-border-image-2-ref.html Bug 1264809 - (Part 3) Add reftest. r=dholbert 2016-07-01 00:44:00 +02:00
svg-as-border-image-2.html Bug 1264809 - (Part 3) Add reftest. r=dholbert 2016-07-01 00:44:00 +02:00
svg-as-border-image-3-ref.html Bug 1264809 - (Part 3) Add reftest. r=dholbert 2016-07-01 00:44:00 +02:00
svg-as-border-image-3.html Bug 1264809 - (Part 3) Add reftest. r=dholbert 2016-07-01 00:44:00 +02:00
svg-as-border-image-4-ref.html Bug 1290782 Part 3 - Add test cases for using an SVG image as border-image. r=cjku,dholbert 2017-09-20 10:06:26 +08:00
svg-as-border-image-4a.html Bug 1290782 Part 3 - Add test cases for using an SVG image as border-image. r=cjku,dholbert 2017-09-20 10:06:26 +08:00
svg-as-border-image-4b.html Bug 1290782 Part 3 - Add test cases for using an SVG image as border-image. r=cjku,dholbert 2017-09-20 10:06:26 +08:00
transparent-image-1-ref.html
transparent-image-1.html