gecko-dev/layout/reftests/svg/as-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
..
zoom 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
background-display-none-1.html
background-image-rect-1png.html
background-image-rect-1svg.html
background-image-rect-2.html
background-resize-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
background-resize-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
background-resize-3.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-resize-4.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-scale-no-viewbox-1-ref.html
background-scale-no-viewbox-1.html
background-scale-with-viewbox-1-ref.html
background-scale-with-viewbox-1.html
background-simple-1.html
background-simple-2.html
background-stretch-1-ref.html
background-stretch-1.html
background-viewBox-1.html
black100x100-ref.html Bug 1058040, part 17 - Add a bunch of SVG-as-an-image context paint reftests. r=dholbert 2017-03-03 21:16:49 +00:00
blue-square-in-square-par-none.svg
blue-square-in-square.svg
blue100x100-border-ref.html Bug 1358690, part 3 - Add reftests for context paint in SVG drawn as a CSS backgrounds image. r=dholbert 2017-03-28 14:53:25 +01:00
blue100x100-ref.html Bug 1058040, part 17 - Add a bunch of SVG-as-an-image context paint reftests. r=dholbert 2017-03-03 21:16:49 +00:00
blue100x100.svg
border-image-simple-1.html
border-image-simple-2.html
canvas-drawImage-alpha-1-ref.html
canvas-drawImage-alpha-1.html
canvas-drawImage-alpha-2-ref.html
canvas-drawImage-alpha-2.html
canvas-drawImage-origin-clean-1.html
canvas-drawImage-scale-1a.html
canvas-drawImage-scale-1b.html
canvas-drawImage-scale-1c.html
canvas-drawImage-scale-2-ref.html
canvas-drawImage-scale-2a.html
canvas-drawImage-scale-2b.html
canvas-drawImage-simple-1a.html
canvas-drawImage-simple-1b.html
canvas-drawImage-slice-1a.html
canvas-drawImage-slice-1b.html
canvas-drawImage-transform-restored-ref.html
canvas-drawImage-transform-restored.html
content-outside-viewBox-1-helper.svg
context-fill-01.html Bug 1350010, part 2 - Fix the existing context paint tests to specify '-moz-context-properties'. r=heycam 2017-04-12 11:45:18 +01:00
context-fill-02.html Bug 1352258 - default fallback for context-fill to black to match default fill colour r=jwatt 2017-05-03 22:00:40 +01:00
context-fill-03.html Bug 1350010, part 2 - Fix the existing context paint tests to specify '-moz-context-properties'. r=heycam 2017-04-12 11:45:18 +01:00
context-fill-04.html Bug 1350010, part 2 - Fix the existing context paint tests to specify '-moz-context-properties'. r=heycam 2017-04-12 11:45:18 +01:00
context-fill-05.html Bug 1350010, part 2 - Fix the existing context paint tests to specify '-moz-context-properties'. r=heycam 2017-04-12 11:45:18 +01:00
context-fill-05.svg Bug 1058040, part 17 - Add a bunch of SVG-as-an-image context paint reftests. r=dholbert 2017-03-03 21:16:49 +00:00
context-fill-06.html Bug 1350010, part 2 - Fix the existing context paint tests to specify '-moz-context-properties'. r=heycam 2017-04-12 11:45:18 +01:00
context-fill-07-ref.html Bug 1058040, part 17 - Add a bunch of SVG-as-an-image context paint reftests. r=dholbert 2017-03-03 21:16:49 +00:00
context-fill-07.html Bug 1350010, part 2 - Fix the existing context paint tests to specify '-moz-context-properties'. r=heycam 2017-04-12 11:45:18 +01:00
context-fill-08.html Bug 1360662, part 2 - Test that only properties listed in '-moz-context-properties' are exposed as image context properties. r=dholbert 2017-04-19 15:24:56 +01:00
context-fill-bg-image-01.html Bug 1350010, part 2 - Fix the existing context paint tests to specify '-moz-context-properties'. r=heycam 2017-04-12 11:45:18 +01:00
context-fill-opacity-01.html Bug 1373159 - Add a bunch of test cases for 'context-fill-opacity' and 'context-stroke-opacity'. r=heycam 2017-06-20 11:51:56 +08:00
context-fill-opacity-02.html Bug 1373159 - Add a bunch of test cases for 'context-fill-opacity' and 'context-stroke-opacity'. r=heycam 2017-06-20 11:51:56 +08:00
context-fill-opacity-02.svg Bug 1373159 - Add a bunch of test cases for 'context-fill-opacity' and 'context-stroke-opacity'. r=heycam 2017-06-20 11:51:56 +08:00
context-fill-opacity-03.html Bug 1373159 - Add a bunch of test cases for 'context-fill-opacity' and 'context-stroke-opacity'. r=heycam 2017-06-20 11:51:56 +08:00
context-fill-opacity-04.html Bug 1373159 - Add a bunch of test cases for 'context-fill-opacity' and 'context-stroke-opacity'. r=heycam 2017-06-20 11:51:56 +08:00
context-fill-opacity-05.html Bug 1373159 - Add a bunch of test cases for 'context-fill-opacity' and 'context-stroke-opacity'. r=heycam 2017-06-20 11:51:56 +08:00
context-fill-or-stroke-05-ref.html Bug 1058040, part 17 - Add a bunch of SVG-as-an-image context paint reftests. r=dholbert 2017-03-03 21:16:49 +00:00
context-fill-or-stroke-opacity-01-ref.html Bug 1373159 - Add a bunch of test cases for 'context-fill-opacity' and 'context-stroke-opacity'. r=heycam 2017-06-20 11:51:56 +08:00
context-fill-or-stroke-opacity-02-ref.html Bug 1373159 - Add a bunch of test cases for 'context-fill-opacity' and 'context-stroke-opacity'. r=heycam 2017-06-20 11:51:56 +08:00
context-fill-or-stroke-opacity-03-ref.html Bug 1373159 - Add a bunch of test cases for 'context-fill-opacity' and 'context-stroke-opacity'. r=heycam 2017-06-20 11:51:56 +08:00
context-stroke-01.html Bug 1350010, part 2 - Fix the existing context paint tests to specify '-moz-context-properties'. r=heycam 2017-04-12 11:45:18 +01:00
context-stroke-02.html Bug 1350010, part 2 - Fix the existing context paint tests to specify '-moz-context-properties'. r=heycam 2017-04-12 11:45:18 +01:00
context-stroke-03.html Bug 1350010, part 2 - Fix the existing context paint tests to specify '-moz-context-properties'. r=heycam 2017-04-12 11:45:18 +01:00
context-stroke-04.html Bug 1350010, part 2 - Fix the existing context paint tests to specify '-moz-context-properties'. r=heycam 2017-04-12 11:45:18 +01:00
context-stroke-05.html Bug 1350010, part 2 - Fix the existing context paint tests to specify '-moz-context-properties'. r=heycam 2017-04-12 11:45:18 +01:00
context-stroke-05.svg Bug 1058040, part 17 - Add a bunch of SVG-as-an-image context paint reftests. r=dholbert 2017-03-03 21:16:49 +00:00
context-stroke-06.html Bug 1350010, part 2 - Fix the existing context paint tests to specify '-moz-context-properties'. r=heycam 2017-04-12 11:45:18 +01:00
context-stroke-07-ref.html Bug 1058040, part 17 - Add a bunch of SVG-as-an-image context paint reftests. r=dholbert 2017-03-03 21:16:49 +00:00
context-stroke-07.html Bug 1350010, part 2 - Fix the existing context paint tests to specify '-moz-context-properties'. r=heycam 2017-04-12 11:45:18 +01:00
context-stroke-08.html Bug 1360662, part 2 - Test that only properties listed in '-moz-context-properties' are exposed as image context properties. r=dholbert 2017-04-19 15:24:56 +01:00
context-stroke-bg-image-01.html Bug 1350010, part 2 - Fix the existing context paint tests to specify '-moz-context-properties'. r=heycam 2017-04-12 11:45:18 +01:00
context-stroke-opacity-01.html Bug 1373159 - Add a bunch of test cases for 'context-fill-opacity' and 'context-stroke-opacity'. r=heycam 2017-06-20 11:51:56 +08:00
context-stroke-opacity-02.html Bug 1373159 - Add a bunch of test cases for 'context-fill-opacity' and 'context-stroke-opacity'. r=heycam 2017-06-20 11:51:56 +08:00
context-stroke-opacity-02.svg Bug 1373159 - Add a bunch of test cases for 'context-fill-opacity' and 'context-stroke-opacity'. r=heycam 2017-06-20 11:51:56 +08:00
context-stroke-opacity-03.html Bug 1373159 - Add a bunch of test cases for 'context-fill-opacity' and 'context-stroke-opacity'. r=heycam 2017-06-20 11:51:56 +08:00
context-stroke-opacity-04.html Bug 1373159 - Add a bunch of test cases for 'context-fill-opacity' and 'context-stroke-opacity'. r=heycam 2017-06-20 11:51:56 +08:00
context-stroke-opacity-05.html Bug 1373159 - Add a bunch of test cases for 'context-fill-opacity' and 'context-stroke-opacity'. r=heycam 2017-06-20 11:51:56 +08:00
defer-unsupported-1-helper.svg Bug 1280425 part 1: Remove support for deprecated value "defer" in SVG preserveAspectRatio. r=dholbert 2016-06-30 17:28:33 -07:00
defer-unsupported-1-ref.svg Bug 1280425 part 1: Remove support for deprecated value "defer" in SVG preserveAspectRatio. r=dholbert 2016-06-30 17:28:33 -07:00
defer-unsupported-1.svg Bug 1280425 part 1: Remove support for deprecated value "defer" in SVG preserveAspectRatio. r=dholbert 2016-06-30 17:28:33 -07:00
display-none.svg
image-orientation-ref.html Bug 1473450 - Remove angle values from image-orientation. r=emilio 2018-07-05 12:04:58 +10:00
image-orientation-viewbox-and-size.html Bug 1473450 - Remove angle values from image-orientation. r=emilio 2018-07-05 12:04:58 +10:00
image-orientation-viewbox-and-size.svg
image-orientation-viewbox-no-size.html Bug 1473450 - Remove angle values from image-orientation. r=emilio 2018-07-05 12:04:58 +10:00
image-orientation-viewbox-no-size.svg
img-and-image-1-helper-a.svg
img-and-image-1-helper-b.svg
img-and-image-1-helper-c.svg
img-and-image-1-ref.svg
img-and-image-1.html
img-blobURI-1.html
img-blobURI-2.html
img-content-outside-viewBox-1-ref.html
img-content-outside-viewBox-1.html
img-display-none-1.html
img-dyn-1-ref.html
img-dyn-1.html
img-foreignObject-1-helper.svg
img-foreignObject-1.html
img-foreignObject-embed-1-helper.svg
img-foreignObject-embed-1.html
img-foreignObject-iframe-1a-helper.svg
img-foreignObject-iframe-1a.html
img-foreignObject-iframe-1b-helper.svg
img-foreignObject-iframe-1b.html
img-fragment-1-ref.html
img-fragment-1a.html
img-fragment-1b.html
img-fragment-1c.html
img-fragment-2-ref.html
img-fragment-2a.html
img-fragment-2b.html
img-fragment-2c.html
img-height-meet-1-ref.html
img-height-meet-1.html
img-height-meet-2-ref.html
img-height-meet-2.html
img-height-slice-1-ref.html
img-height-slice-1.html
img-height-slice-2-ref.html
img-height-slice-2.html
img-novb-height-all-1-ref.html
img-novb-height-meet-1.html
img-novb-height-slice-1.html
img-novb-width-all-1-ref.html
img-novb-width-meet-1.html
img-novb-width-slice-1.html
img-novb-widthAndHeight-all-1-ref.html
img-novb-widthAndHeight-meet-1-em.html
img-novb-widthAndHeight-meet-1-px.html
img-novb-widthAndHeight-slice-1-em.html
img-novb-widthAndHeight-slice-1-px.html
img-simple-1.html
img-simple-2.html
img-simple-3-ref.html
img-simple-3.html
img-simple-4.html
img-simple-5-ref.html
img-simple-5.html
img-simple-6.html
img-simple-7-ref.html
img-simple-7.html
img-width-meet-1-ref.html
img-width-meet-1.html
img-width-meet-2-ref.html
img-width-meet-2.html
img-width-slice-1-ref.html
img-width-slice-1.html
img-width-slice-2-ref.html
img-width-slice-2.html
img-widthAndHeight-meet-1-ref.html
img-widthAndHeight-meet-1.html
img-widthAndHeight-meet-2-ref.html
img-widthAndHeight-meet-2.html
img-widthAndHeight-slice-1-ref.html
img-widthAndHeight-slice-1.html
img-widthAndHeight-slice-2-ref.html
img-widthAndHeight-slice-2.html
lime50x25.svg
lime50x50.svg
lime100x100-50pct-ref.html Bug 1058040, part 17 - Add a bunch of SVG-as-an-image context paint reftests. r=dholbert 2017-03-03 21:16:49 +00:00
lime100x100-noSVGDimensions.svg
lime100x100-ref.html
lime100x100-w-border-ref.html Bug 1058040, part 17 - Add a bunch of SVG-as-an-image context paint reftests. r=dholbert 2017-03-03 21:16:49 +00:00
lime100x100.png
lime100x100.svg
lime200x100.svg
lime200x200.svg
limeInRed-noSVGDimensions-animViewBox.svg
limeInRed-noSVGDimensions-viewBox.svg
limeInRed100x100-viewBox.svg
limeInRed100x100.png
limeInRed100x100.svg
list-simple-1-ref.html
list-simple-1.html
nonuniform-scale-2d.html
nonuniform-scale-3d.html
nonuniform-scale-ref.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
squaredCircle-100x50.svg
squaredCircle-100x100.svg
squaredCircle-transparent.svg
squaredCircle-viewBox-100x100.svg
squaredCircle-viewBox-noSize.svg
svg-border-image-repaint-1-ref.html
svg-border-image-repaint-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
svg-border-image-repaint-helper.svg
svg-border-image-repaint-iframe.html
svg-image-datauri-1.html
svg-image-datauri.svg
svg-image-external-1.html
svg-image-external.svg
svg-image-recursive-1-ref.svg
svg-image-recursive-1a.svg
svg-image-recursive-1b.svg
svg-image-recursive-2-ref.svg
svg-image-recursive-2a.svg
svg-image-recursive-2b.html
svg-image-simple-1.svg
svg-image-simple-2.svg
svg-image-simple-3.svg
svg-image-synthetic-viewBox-01-helper-1.svg Bug 1358794, part 2 - Reftests to check SVG embedded by SVG <image> gets a synthetic viewBox if necessary. r=longsonr 2017-03-25 17:05:37 +00:00
svg-image-synthetic-viewBox-01-helper-2.svg Bug 1358794, part 2 - Reftests to check SVG embedded by SVG <image> gets a synthetic viewBox if necessary. r=longsonr 2017-03-25 17:05:37 +00:00
svg-image-synthetic-viewBox-01-ref.svg Bug 1358794, part 2 - Reftests to check SVG embedded by SVG <image> gets a synthetic viewBox if necessary. r=longsonr 2017-03-25 17:05:37 +00:00
svg-image-synthetic-viewBox-01.svg Bug 1358794, part 2 - Reftests to check SVG embedded by SVG <image> gets a synthetic viewBox if necessary. r=longsonr 2017-03-25 17:05:37 +00:00
svg-image-util.css
svg-image-util.js
svg-image-visited-1-ref.html Bug 1420526 part 1: Change svg-as-image :visited reftests to be more robust (and to run as part of test_visited_reftests.html). r=emilio 2017-12-08 18:11:10 -08:00
svg-image-visited-1a-helper.svg Bug 1420526 part 1: Change svg-as-image :visited reftests to be more robust (and to run as part of test_visited_reftests.html). r=emilio 2017-12-08 18:11:10 -08:00
svg-image-visited-1a.html Bug 1420526 part 1: Change svg-as-image :visited reftests to be more robust (and to run as part of test_visited_reftests.html). r=emilio 2017-12-08 18:11:10 -08:00
svg-image-visited-1b-helper.svg Bug 1420526 part 1: Change svg-as-image :visited reftests to be more robust (and to run as part of test_visited_reftests.html). r=emilio 2017-12-08 18:11:10 -08:00
svg-image-visited-1b.html Bug 1420526 part 1: Change svg-as-image :visited reftests to be more robust (and to run as part of test_visited_reftests.html). r=emilio 2017-12-08 18:11:10 -08:00
svg-image-visited-1c-helper.svg Bug 1420526 part 2: Make copies of svg-as-image :visited reftests, using canonical "visited-page.html" as link-target. r=emilio 2017-12-08 18:11:10 -08:00
svg-image-visited-1c.html Bug 1420526 part 2: Make copies of svg-as-image :visited reftests, using canonical "visited-page.html" as link-target. r=emilio 2017-12-08 18:11:10 -08:00
svg-image-visited-1d-helper.svg Bug 1420526 part 2: Make copies of svg-as-image :visited reftests, using canonical "visited-page.html" as link-target. r=emilio 2017-12-08 18:11:10 -08:00
svg-image-visited-1d.html Bug 1420526 part 2: Make copies of svg-as-image :visited reftests, using canonical "visited-page.html" as link-target. r=emilio 2017-12-08 18:11:10 -08:00
svg-stylesheet-datauri-1.html
svg-stylesheet-datauri.svg
svg-stylesheet-external-1.html
svg-stylesheet-external.css
svg-stylesheet-external.svg
transparent100x100-w-border-ref.html Bug 1058040, part 17 - Add a bunch of SVG-as-an-image context paint reftests. r=dholbert 2017-03-03 21:16:49 +00:00
white-rect-no-viewbox.svg
white-rect-with-viewbox.svg