gecko-dev/layout/reftests/backgrounds
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
..
gradient Bug 1322845 - Update reftest annotations for WebRender on macOS. r=Gankro 2018-05-08 22:42:51 -04:00
vector Bug 1448006 - Disable mipmaps in WR. r=mstange 2018-03-22 12:14:15 -04:00
aqua-32x32.png
aqua-yellow-32x32.png
attachment-local-clipping-color-1-ref.html
attachment-local-clipping-color-1.html
attachment-local-clipping-color-2.html
attachment-local-clipping-color-3-ref.html
attachment-local-clipping-color-3.html
attachment-local-clipping-color-4-ref.html
attachment-local-clipping-color-4.html
attachment-local-clipping-color-5.html
attachment-local-clipping-color-6-ref.html
attachment-local-clipping-color-6.html
attachment-local-clipping-image-1-ref.html
attachment-local-clipping-image-1.html
attachment-local-clipping-image-2.html
attachment-local-clipping-image-3-ref.html
attachment-local-clipping-image-3.html
attachment-local-clipping-image-4-ref.html
attachment-local-clipping-image-4.html
attachment-local-clipping-image-5.html
attachment-local-clipping-image-6-ref.html
attachment-local-clipping-image-6.html
attachment-local-positioning-1-ref.html
attachment-local-positioning-1.html
attachment-local-positioning-2-ref.html
attachment-local-positioning-2.html
attachment-local-positioning-3-ref.html
attachment-local-positioning-3.html
attachment-local-positioning-4-ref.html
attachment-local-positioning-4.html
attachment-local-positioning-5-ref.html
attachment-local-positioning-5.html
attachment-scroll-positioning-1-ref.html
attachment-scroll-positioning-1.html
background-clip-1-ref.html
background-clip-1.html
background-clip-2-ref.html
background-clip-2.html
background-clip-text-1-ref.html Bug 1269971 - Part 6. Modify reftest according to the way we generate bg-clip:text; r=jfkthame 2016-05-13 00:09:28 +08:00
background-clip-text-1a.html Bug 1269971 - Part 6. Modify reftest according to the way we generate bg-clip:text; r=jfkthame 2016-05-13 00:09:28 +08:00
background-clip-text-1b.html Bug 1269971 - Part 6. Modify reftest according to the way we generate bg-clip:text; r=jfkthame 2016-05-13 00:09:28 +08:00
background-clip-text-1c.html Bug 1269971 - Part 6. Modify reftest according to the way we generate bg-clip:text; r=jfkthame 2016-05-13 00:09:28 +08:00
background-clip-text-1d.html Bug 1269971 - Part 6. Modify reftest according to the way we generate bg-clip:text; r=jfkthame 2016-05-13 00:09:28 +08:00
background-clip-text-1e.html Bug 1269971 - Part 6. Modify reftest according to the way we generate bg-clip:text; r=jfkthame 2016-05-13 00:09:28 +08:00
background-clip-text-2-ref.html Bug 1287705 - Part 3. reftest for text shadow. r=jfkthame 2016-07-19 22:29:30 +08:00
background-clip-text-2.html Bug 1287705 - Part 3. reftest for text shadow. r=jfkthame 2016-07-19 22:29:30 +08:00
background-layers-1-ref.html
background-layers-1a.html
background-layers-1b.html
background-moz-default-background-color-ref.html
background-moz-default-background-color.html
background-multiple-with-border-radius-ref.html Bug 613659 - Add a Restore() method to Restore the current gfxContext if any. r=roc 2014-05-05 17:55:55 +00:00
background-multiple-with-border-radius.html Bug 613659 - Add a Restore() method to Restore the current gfxContext if any. r=roc 2014-05-05 17:55:55 +00:00
background-position-1-ref.html
background-position-1a.html
background-position-1b.html
background-position-1c.html
background-position-1d.html Bug 550426 - Add a few reftests for background-position-x/-y. r=dbaron 2016-04-20 23:56:58 -04:00
background-position-1e.html Bug 550426 - Add a few reftests for background-position-x/-y. r=dbaron 2016-04-20 23:56:58 -04:00
background-position-1f.html Bug 550426 - Add a few reftests for background-position-x/-y. r=dbaron 2016-04-20 23:56:58 -04:00
background-position-2-ref.html
background-position-2a.html Bug 550426 - Add a few reftests for background-position-x/-y. r=dbaron 2016-04-20 23:56:58 -04:00
background-position-2b.html
background-position-2c.html Bug 550426 - Add a few reftests for background-position-x/-y. r=dbaron 2016-04-20 23:56:58 -04:00
background-position-2d.html Bug 550426 - Add a few reftests for background-position-x/-y. r=dbaron 2016-04-20 23:56:58 -04:00
background-position-3-ref.html
background-position-3a.html
background-position-3b.html
background-position-3c.html Bug 550426 - Add a few reftests for background-position-x/-y. r=dbaron 2016-04-20 23:56:58 -04:00
background-position-3d.html Bug 550426 - Add a few reftests for background-position-x/-y. r=dbaron 2016-04-20 23:56:58 -04:00
background-position-4-ref.html
background-position-4a.html
background-position-4b.html
background-position-4c.html
background-position-4d.html Bug 550426 - Add a few reftests for background-position-x/-y. r=dbaron 2016-04-20 23:56:58 -04:00
background-position-4e.html Bug 550426 - Add a few reftests for background-position-x/-y. r=dbaron 2016-04-20 23:56:58 -04:00
background-position-5-ref.html
background-position-5.html
background-position-6-ref.html
background-position-6a.html Bug 550426 - Add a few reftests for background-position-x/-y. r=dbaron 2016-04-20 23:56:58 -04:00
background-position-6b.html Bug 550426 - Add a few reftests for background-position-x/-y. r=dbaron 2016-04-20 23:56:58 -04:00
background-position-7-ref.html
background-position-7.html
background-position-8-ref.html
background-position-8.html
background-redraw-237766-ref.html
background-redraw-237766.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
background-referrer-image.png
background-referrer-ref.html
background-referrer.html
background-referrer.sjs
background-repeat-1-ref.html
background-repeat-1.html
background-repeat-large-area-ref.html Bug 671302 - Avoid passing large offsets into pixman when drawing repeated background images. r=roc 2014-07-18 11:48:38 +02:00
background-repeat-large-area.html Bug 671302 - Avoid passing large offsets into pixman when drawing repeated background images. r=roc 2014-07-18 11:48:38 +02:00
background-repeat-resampling-ref.html Bug 1274726. Part 2: Reftest for prescale and repeat drawable. r=jrmuizel 2016-06-03 13:30:23 -07:00
background-repeat-resampling.html Bug 1274726. Part 2: Reftest for prescale and repeat drawable. r=jrmuizel 2016-06-03 13:30:23 -07:00
background-size-auto-auto.html
background-size-auto-length-ref.html
background-size-auto-length.html
background-size-auto-percent.html
background-size-auto-ref.html
background-size-auto.html
background-size-body-contain-no-repeat.html
background-size-body-contain-not-fixed.html
background-size-body-contain.html
background-size-body-cover-no-repeat.html
background-size-body-cover-not-fixed.html
background-size-body-cover-ref.html
background-size-body-cover.html
background-size-body-percent-percent-no-repeat.html
background-size-body-percent-percent-not-fixed.html
background-size-body-percent-percent-overflow-ref.html
background-size-body-percent-percent-overflow.html
background-size-body-percent-percent-ref.html
background-size-body-percent-percent.html
background-size-body-single-not-fixed.html
background-size-clone.html Bug 613659 - Implement box-decoration-break layout for backgrounds. r=cam,jmuizelaar 2014-05-05 17:55:54 +00:00
background-size-contain-clip-border-ref.html
background-size-contain-clip-border.html
background-size-contain-clip-padding-origin-border-padding-ref.html
background-size-contain-clip-padding-origin-border-padding.html
background-size-contain-clip-padding-origin-border-ref.html
background-size-contain-clip-padding-origin-border.html
background-size-contain-clip-padding-ref.html
background-size-contain-clip-padding.html
background-size-contain-position-fifty-fifty-ref.html
background-size-contain-position-fifty-fifty.html
background-size-contain-ref.html
background-size-contain.html
background-size-cover-clone.html Bug 613659 - Implement box-decoration-break layout for backgrounds. r=cam,jmuizelaar 2014-05-05 17:55:54 +00:00
background-size-cover-ref.html
background-size-cover-slice.html Bug 613659 - Implement box-decoration-break layout for backgrounds. r=cam,jmuizelaar 2014-05-05 17:55:54 +00:00
background-size-cover.html
background-size-length-auto.html
background-size-length-length-ref.html
background-size-length-length.html
background-size-length-percent-ref.html
background-size-length-percent.html
background-size-length.html
background-size-monster-ch.html
background-size-monster-cm.html
background-size-monster-em.html
background-size-monster-ex.html
background-size-monster-inches.html
background-size-monster-mm.html
background-size-monster-pc.html
background-size-monster-pt.html
background-size-monster-px.html
background-size-monster-ref.html
background-size-monster-rem.html
background-size-percent-auto.html
background-size-percent-length.html
background-size-percent-percent-ref.html
background-size-percent-percent-stretch-ref.html
background-size-percent-percent-stretch.html
background-size-percent-percent.html
background-size-percent.html
background-size-slice.html Bug 613659 - Implement box-decoration-break layout for backgrounds. r=cam,jmuizelaar 2014-05-05 17:55:54 +00:00
background-size-zoom-no-repeat-ref.html
background-size-zoom-no-repeat.html
background-size-zoom-repeat-ref.html
background-size-zoom-repeat.html
background-tiling-zoom-1-ref.html Bug 1067191 (Part 2) - Add tests for zoom combined with tiled backgrounds. r=roc 2014-09-25 14:10:00 -07:00
background-tiling-zoom-1.html Bug 1067191 (Part 2) - Add tests for zoom combined with tiled backgrounds. r=roc 2014-09-25 14:10:00 -07:00
blue-8x20-green-8x20.png
blue-8x20-green-16x20.png
blue-8x20.png
blue-16x20-green-8x20.png
blue-16x20-green-16x20.png
blue-16x20.png
blue-32x32.png
body-background-ref.html
body-background.html
continuous-inline-1a.html
continuous-inline-1ab-ref.html
continuous-inline-1b.html
continuous-inline-1c.html
continuous-inline-1cd-ref.html
continuous-inline-1d.html
continuous-inline-2-ref.html
continuous-inline-2a.html
continuous-inline-2b.html
continuous-inline-3-ref.html
continuous-inline-3.html
continuous-inline-4-ref.html
continuous-inline-4a.html
continuous-inline-4b.html
continuous-inline-5-ref.html
continuous-inline-5a.html
continuous-inline-5b.html
delay-image-response.sjs
div-background-ref.html
div-background.html
fixed-bg-border-radius-ref.html Bug 1232939 - Ensure the opaque region of a fixed background layer is correctly clipped. r=mstange 2016-01-06 13:48:37 -05:00
fixed-bg-border-radius.html Bug 1232939 - Ensure the opaque region of a fixed background layer is correctly clipped. r=mstange 2016-01-06 13:48:37 -05:00
fixed-bg-with-transform-outside-viewport-1.html
fixed-bg-with-transform-outside-viewport-ref.html
fuchsia-32x32.png
green-8x20-blue-8x20-vertical.png
green-8x20.png
green-16x20.png
green-circle-alpha-32x32.png
grid-large.png Bug 1274726. Part 2: Reftest for prescale and repeat drawable. r=jrmuizel 2016-06-03 13:30:23 -07:00
iframe-translucent-color-1.html
iframe-translucent-color-ref.html
layers-layer-count-1-ref.xhtml Update links pointing to my personal website (http -> https). No bug. 2016-10-13 11:41:51 -07:00
layers-layer-count-2-ref.xhtml Update links pointing to my personal website (http -> https). No bug. 2016-10-13 11:41:51 -07:00
layers-layer-count-cascade-1.xhtml Update links pointing to my personal website (http -> https). No bug. 2016-10-13 11:41:51 -07:00
layers-layer-count-cascade-2.xhtml Update links pointing to my personal website (http -> https). No bug. 2016-10-13 11:41:51 -07:00
layers-layer-count-inheritance-1.xhtml Update links pointing to my personal website (http -> https). No bug. 2016-10-13 11:41:51 -07:00
layers-layer-count-inheritance-2.xhtml Update links pointing to my personal website (http -> https). No bug. 2016-10-13 11:41:51 -07:00
layers-stacking-order-ref.xhtml Update links pointing to my personal website (http -> https). No bug. 2016-10-13 11:41:51 -07:00
layers-stacking-order.xhtml Update links pointing to my personal website (http -> https). No bug. 2016-10-13 11:41:51 -07:00
lime-1x25.png Bug 1067191 (Part 2) - Add tests for zoom combined with tiled backgrounds. r=roc 2014-09-25 14:10:00 -07:00
lime-25x1.png Bug 1067191 (Part 2) - Add tests for zoom combined with tiled backgrounds. r=roc 2014-09-25 14:10:00 -07:00
lime-and-blue-1x25.png Bug 1067191 (Part 2) - Add tests for zoom combined with tiled backgrounds. r=roc 2014-09-25 14:10:00 -07:00
lime-and-blue-25x1.png Bug 1067191 (Part 2) - Add tests for zoom combined with tiled backgrounds. r=roc 2014-09-25 14:10:00 -07:00
malformed.png
multi-background-clip-content-border-ref.html
multi-background-clip-content-border.html
really-big-background-ref.html
really-big-background.html
really-big-background.png
red-32x32.png
red-128-alpha-32x32.png
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
root-background-1.html
root-background-ref.html
root-element-display-none-1.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
root-element-display-none-ref.html
table-background-print-ref.html Bug 1382327 - (reftest) Rename reftest-print to reftest-paged. r=dbaron 2017-07-26 22:53:46 -07:00
table-background-print.html Bug 1382327 - (reftest) Rename reftest-print to reftest-paged. r=dbaron 2017-07-26 22:53:46 -07:00
table-background-ref.html
table-background.html
translucent-color-1.html
translucent-color-2.html
translucent-color-3.html
translucent-color-ref.html
transparent-32x32.png
viewport-translucent-color-1.html
viewport-translucent-color-2.html
viewport-translucent-color-3.html
viewport-translucent-color-ref.html
yellow-32x32.png