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 Bug 1023516 - Basic image srcset reftests r=jst 2014-10-24 14:00:17 -07:00
100.png Bug 1023516 - Basic image srcset reftests r=jst 2014-10-24 14:00:17 -07:00
200.png Bug 1023516 - Basic image srcset reftests r=jst 2014-10-24 14:00:17 -07:00
300.png Bug 1023516 - Basic image srcset reftests r=jst 2014-10-24 14:00:17 -07:00
400.png Bug 1023516 - Basic image srcset reftests r=jst 2014-10-24 14:00:17 -07:00
500.svg Bug 1023516 - Basic image srcset reftests r=jst 2014-10-24 14:00:17 -07:00
background-image-zoom-1-ref.html Bug 1084321 - Remove b2g app meta viewport work-around. r=kats,roc 2014-11-04 17:15:30 +00:00
background-image-zoom-1.html Bug 1084321 - Remove b2g app meta viewport work-around. r=kats,roc 2014-11-04 17:15:30 +00:00
background-image-zoom-2.html
big.png
blue-16x20.png
blue-32x32.png
blue-50x50.png Bug 1160635 patch 1 - Add reftests. r=dholbert 2015-05-06 08:52:19 +02:00
blue-50x100.png Bug 1160635 patch 1 - Add reftests. r=dholbert 2015-05-06 08:52:19 +02:00
blue-100x50.png Bug 1160635 patch 1 - Add reftests. r=dholbert 2015-05-06 08:52:19 +02:00
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 Bug 1110950: Trigger a reflow (as well as a repaint) for changes to 'object-fit' and 'object-position', so subdocuments can be repositioned/resized. r=roc 2015-01-15 09:51:19 -08:00
image-object-fit-dyn-1.html Bug 1110950: Trigger a reflow (as well as a repaint) for changes to 'object-fit' and 'object-position', so subdocuments can be repositioned/resized. r=roc 2015-01-15 09:51:19 -08:00
image-object-fit-with-background-1-ref.html Bug 1101128 part 2: Make nsDisplayImage::GetOpaqueRegion() take object-fit & object-position into account. r=seth 2014-11-19 18:34:52 -08:00
image-object-fit-with-background-1.html Bug 1101128 part 2: Make nsDisplayImage::GetOpaqueRegion() take object-fit & object-position into account. r=seth 2014-11-19 18:34:52 -08:00
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 Bug 1110950: Trigger a reflow (as well as a repaint) for changes to 'object-fit' and 'object-position', so subdocuments can be repositioned/resized. r=roc 2015-01-15 09:51:19 -08:00
image-object-position-dyn-1.html Bug 1110950: Trigger a reflow (as well as a repaint) for changes to 'object-fit' and 'object-position', so subdocuments can be repositioned/resized. r=roc 2015-01-15 09:51:19 -08:00
image-object-position-with-background-1-ref.html Bug 1126163: Adjust image-object-position-with-background-1-ref.html to crop its replaced elems with overflow:hidden div, instead of downscaling them. r=seth 2015-01-27 17:12:33 -08:00
image-object-position-with-background-1.html Bug 1101128 part 2: Make nsDisplayImage::GetOpaqueRegion() take object-fit & object-position into account. r=seth 2014-11-19 18:34:52 -08:00
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 Bug 920734 - Part 2: Update tests to avoid using orientation as variable name. r=seth 2015-10-23 21:37:35 -07:00
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 Bug 920734 - Part 2: Update tests to avoid using orientation as variable name. r=seth 2015-10-23 21:37:35 -07:00
image-resize-percent-height.html Bug 1160635 patch 1 - Add reftests. r=dholbert 2015-05-06 08:52:19 +02:00
image-resize-percent-width.html Bug 1160635 patch 1 - Add reftests. r=dholbert 2015-05-06 08:52:19 +02:00
image-resize-ref.html Bug 1160635 patch 1 - Add reftests. r=dholbert 2015-05-06 08:52:19 +02:00
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 Bug 1023516 - Basic image srcset reftests r=jst 2014-10-24 14:00:17 -07:00
image-srcset-basic-selection-0.1x.html Bug 1023516 - Basic image srcset reftests r=jst 2014-10-24 14:00:17 -07:00
image-srcset-basic-selection-0.5x-ref.html Bug 1023516 - Basic image srcset reftests r=jst 2014-10-24 14:00:17 -07:00
image-srcset-basic-selection-0.5x.html Bug 1023516 - Basic image srcset reftests r=jst 2014-10-24 14:00:17 -07:00
image-srcset-basic-selection-0.6x-ref.html Bug 1023516 - Basic image srcset reftests r=jst 2014-10-24 14:00:17 -07:00
image-srcset-basic-selection-0.6x.html Bug 1023516 - Basic image srcset reftests r=jst 2014-10-24 14:00:17 -07:00
image-srcset-basic-selection-1.5x-ref.html Bug 1023516 - Basic image srcset reftests r=jst 2014-10-24 14:00:17 -07:00
image-srcset-basic-selection-1.5x.html Bug 1023516 - Basic image srcset reftests r=jst 2014-10-24 14:00:17 -07:00
image-srcset-basic-selection-1x-ref.html Bug 1023516 - Basic image srcset reftests r=jst 2014-10-24 14:00:17 -07:00
image-srcset-basic-selection-1x.html Bug 1023516 - Basic image srcset reftests r=jst 2014-10-24 14:00:17 -07:00
image-srcset-basic-selection-2x-ref.html Bug 1023516 - Basic image srcset reftests r=jst 2014-10-24 14:00:17 -07:00
image-srcset-basic-selection-2x.html Bug 1023516 - Basic image srcset reftests r=jst 2014-10-24 14:00:17 -07:00
image-srcset-basic-selection-width-0.5x-ref.html Bug 1023516 - Basic image srcset reftests r=jst 2014-10-24 14:00:17 -07:00
image-srcset-basic-selection-width-0.5x.html Bug 1023516 - Basic image srcset reftests r=jst 2014-10-24 14:00:17 -07:00
image-srcset-basic-selection-width-1x-ref.html Bug 1023516 - Basic image srcset reftests r=jst 2014-10-24 14:00:17 -07:00
image-srcset-basic-selection-width-1x.html Bug 1023516 - Basic image srcset reftests r=jst 2014-10-24 14:00:17 -07:00
image-srcset-basic-selection-width-2x-ref.html Bug 1023516 - Basic image srcset reftests r=jst 2014-10-24 14:00:17 -07:00
image-srcset-basic-selection-width-2x.html Bug 1023516 - Basic image srcset reftests r=jst 2014-10-24 14:00:17 -07:00
image-srcset-basic-selection-width-10x-ref.html Bug 1023516 - Basic image srcset reftests r=jst 2014-10-24 14:00:17 -07:00
image-srcset-basic-selection-width-10x.html Bug 1023516 - Basic image srcset reftests r=jst 2014-10-24 14:00:17 -07:00
image-srcset-default-1x-ref.html Bug 1023516 - Basic image srcset reftests r=jst 2014-10-24 14:00:17 -07:00
image-srcset-default-1x.html Bug 1023516 - Basic image srcset reftests r=jst 2014-10-24 14:00:17 -07:00
image-srcset-default-2x-ref.html Bug 1023516 - Basic image srcset reftests r=jst 2014-10-24 14:00:17 -07:00
image-srcset-default-2x.html Bug 1023516 - Basic image srcset reftests r=jst 2014-10-24 14:00:17 -07:00
image-srcset-default-src-1x-ref.html Bug 1023516 - Basic image srcset reftests r=jst 2014-10-24 14:00:17 -07:00
image-srcset-default-src-1x.html Bug 1023516 - Basic image srcset reftests r=jst 2014-10-24 14:00:17 -07:00
image-srcset-default-src-2x-ref.html Bug 1023516 - Basic image srcset reftests r=jst 2014-10-24 14:00:17 -07:00
image-srcset-default-src-2x.html Bug 1023516 - Basic image srcset reftests r=jst 2014-10-24 14:00:17 -07:00
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 Bug 1023516 - Basic image srcset reftests r=jst 2014-10-24 14:00:17 -07:00
image-srcset-svg-1x.html Bug 1023516 - Basic image srcset reftests r=jst 2014-10-24 14:00:17 -07:00
image-srcset-svg-2x-ref.html Bug 1023516 - Basic image srcset reftests r=jst 2014-10-24 14:00:17 -07:00
image-srcset-svg-2x.html Bug 1023516 - Basic image srcset reftests r=jst 2014-10-24 14:00:17 -07:00
image-srcset-svg-3x-ref.html Bug 1023516 - Basic image srcset reftests r=jst 2014-10-24 14:00:17 -07:00
image-srcset-svg-3x.html Bug 1023516 - Basic image srcset reftests r=jst 2014-10-24 14:00:17 -07:00
image-srcset-svg-default-1x-ref.html Bug 1023516 - Basic image srcset reftests r=jst 2014-10-24 14:00:17 -07:00
image-srcset-svg-default-1x.html Bug 1023516 - Basic image srcset reftests r=jst 2014-10-24 14:00:17 -07:00
image-srcset-svg-default-2x-ref.html Bug 1023516 - Basic image srcset reftests r=jst 2014-10-24 14:00:17 -07:00
image-srcset-svg-default-2x.html Bug 1023516 - Basic image srcset reftests r=jst 2014-10-24 14:00:17 -07:00
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 Bug 1023516 - Basic image srcset reftests r=jst 2014-10-24 14:00:17 -07:00
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