gecko-dev/layout/reftests/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
..
50.png
100.png
200.png
300.png
400.png
500.svg
background-image-zoom-1-ref.html
background-image-zoom-1.html
background-image-zoom-2.html
big.png
blue-16x20.png
blue-32x32.png
blue-50x50.png
blue-50x100.png
blue-100x50.png
image-exif-0-deg-flip.jpg
image-exif-0-deg.jpg
image-exif-90-deg-flip.jpg
image-exif-90-deg.jpg
image-exif-180-deg-flip.jpg
image-exif-180-deg.jpg
image-exif-270-deg-flip.jpg
image-exif-270-deg.jpg
image-exif-none.jpg
image-object-fit-dyn-1-ref.html
image-object-fit-dyn-1.html
image-object-fit-with-background-1-ref.html
image-object-fit-with-background-1.html
image-object-fit-with-background-2-ref.html Bug 1382327 - (reftest) Rename reftest-print to reftest-paged. r=dbaron 2017-07-26 22:53:46 -07:00
image-object-fit-with-background-2.html Bug 1382327 - (reftest) Rename reftest-print to reftest-paged. r=dbaron 2017-07-26 22:53:46 -07:00
image-object-position-dyn-1-ref.html
image-object-position-dyn-1.html
image-object-position-with-background-1-ref.html
image-object-position-with-background-1.html
image-object-position-with-background-2-ref.html Bug 1382327 - (reftest) Rename reftest-print to reftest-paged. r=dbaron 2017-07-26 22:53:46 -07:00
image-object-position-with-background-2.html Bug 1382327 - (reftest) Rename reftest-print to reftest-paged. r=dbaron 2017-07-26 22:53:46 -07:00
image-orientation-background.html Bug 1473450 - Remove angle values from image-orientation. r=emilio 2018-07-05 12:04:58 +10:00
image-orientation-border-image.html Bug 1473450 - Remove angle values from image-orientation. r=emilio 2018-07-05 12:04:58 +10:00
image-orientation-dynamic-ref.html Bug 1473450 - Remove angle values from image-orientation. r=emilio 2018-07-05 12:04:58 +10:00
image-orientation-dynamic.html Bug 1473450 - Remove angle values from image-orientation. r=emilio 2018-07-05 12:04:58 +10:00
image-orientation-explicit-none.html Bug 1473450 - Remove angle values from image-orientation. r=emilio 2018-07-05 12:04:58 +10:00
image-orientation-from-image.html
image-orientation-generated-content-ref.html Bug 1473450 - Remove angle values from image-orientation. r=emilio 2018-07-05 12:04:58 +10:00
image-orientation-generated-content.html Bug 1473450 - Remove angle values from image-orientation. r=emilio 2018-07-05 12:04:58 +10:00
image-orientation-list-style-image.html
image-orientation-none.html Bug 1473450 - Remove angle values from image-orientation. r=emilio 2018-07-05 12:04:58 +10:00
image-orientation-ref.html
image-resize-percent-height.html
image-resize-percent-width.html
image-resize-ref.html
image-seam-1-ref.html
image-seam-1a.html
image-seam-1b.html
image-seam-2-ref.html
image-seam-2.html
image-srcset-basic-selection-0.1x-ref.html
image-srcset-basic-selection-0.1x.html
image-srcset-basic-selection-0.5x-ref.html
image-srcset-basic-selection-0.5x.html
image-srcset-basic-selection-0.6x-ref.html
image-srcset-basic-selection-0.6x.html
image-srcset-basic-selection-1.5x-ref.html
image-srcset-basic-selection-1.5x.html
image-srcset-basic-selection-1x-ref.html
image-srcset-basic-selection-1x.html
image-srcset-basic-selection-2x-ref.html
image-srcset-basic-selection-2x.html
image-srcset-basic-selection-width-0.5x-ref.html
image-srcset-basic-selection-width-0.5x.html
image-srcset-basic-selection-width-1x-ref.html
image-srcset-basic-selection-width-1x.html
image-srcset-basic-selection-width-2x-ref.html
image-srcset-basic-selection-width-2x.html
image-srcset-basic-selection-width-10x-ref.html
image-srcset-basic-selection-width-10x.html
image-srcset-default-1x-ref.html
image-srcset-default-1x.html
image-srcset-default-2x-ref.html
image-srcset-default-2x.html
image-srcset-default-src-1x-ref.html
image-srcset-default-src-1x.html
image-srcset-default-src-2x-ref.html
image-srcset-default-src-2x.html
image-srcset-isize-ref.html Bug 1149357: Make nsImageFrame::mIntrinsicSize account for density. r=dholbert 2018-05-25 12:09:23 +02:00
image-srcset-isize.html Bug 1149357: Make nsImageFrame::mIntrinsicSize account for density. r=dholbert 2018-05-25 12:09:23 +02:00
image-srcset-svg-1x-ref.html
image-srcset-svg-1x.html
image-srcset-svg-2x-ref.html
image-srcset-svg-2x.html
image-srcset-svg-3x-ref.html
image-srcset-svg-3x.html
image-srcset-svg-default-1x-ref.html
image-srcset-svg-default-1x.html
image-srcset-svg-default-2x-ref.html
image-srcset-svg-default-2x.html
image-zoom-1-ref.html
image-zoom-1.html
image-zoom-2.html
invalid-url-image-1-ref.html
invalid-url-image-1.html
moz-broken-matching-1-ref.html Bug 1341642 - Add a reftest for :-moz-broken r=emilio 2017-03-20 17:47:59 +03:00
moz-broken-matching-1.html Bug 1341642 - Add a reftest for :-moz-broken r=emilio 2017-03-20 17:47:59 +03:00
nearly-white.png
no-intrinsic-size.svg
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
small.png
sync-image-switch-1-ref.html
sync-image-switch-1a.html
sync-image-switch-1b.html
sync-image-switch-1c.html
sync-image-switch-1d.html