gecko-dev/layout/reftests/canvas
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
..
672646-alpha-radial-gradient-ref.html
672646-alpha-radial-gradient.html
674003-alpha-radial-gradient-superlum-ref.html
674003-alpha-radial-gradient-superlum.html
693610-1-notref.html
693610-1.html
726951-shadow-clips-ref.html
726951-shadow-clips.html
749467-1-ref.html
749467-1.html
784573-1-ref.html
784573-1.html
802658-1-ref.html
802658-1.html
1074733-1-ref.html Bug 1074733 - Add reftest to verify canvas 2d rects with negative dimensions are rendered properly. r=jmuizelaar 2015-09-09 17:32:11 -04:00
1074733-1.html Bug 1074733 - Add reftest to verify canvas 2d rects with negative dimensions are rendered properly. r=jmuizelaar 2015-09-09 17:32:11 -04:00
1107096-invisibles-ref.html Bug 1107096 - Reftest for zero-width invisible glyphs in canvas. 2015-05-30 14:07:18 +01:00
1107096-invisibles.html Bug 1107096 - Reftest for zero-width invisible glyphs in canvas. 2015-05-30 14:07:18 +01:00
1151821-1-ref.html Bug 1151821 - Test: Test whether simple canvas globalCompositeOperators work when a clip is set. r=jrmuizel 2015-04-10 07:09:31 +02:00
1151821-1.html Bug 1151821 - Test: Test whether simple canvas globalCompositeOperators work when a clip is set. r=jrmuizel 2015-04-10 07:09:31 +02:00
1201272-1-ref.html Bug 1201272 - add reftest for canvas shadows with destination-out op. r=jmuizelaar 2015-09-04 14:30:32 -04:00
1201272-1.html Bug 1201272 - add reftest for canvas shadows with destination-out op. r=jmuizelaar 2015-09-04 14:30:32 -04:00
1224976-1-ref.html Bug 1224976. Recover from singular-matrix cairo errors. r=mattwoodrow 2015-11-16 17:35:23 +13:00
1224976-1.html Bug 1224976. Recover from singular-matrix cairo errors. r=mattwoodrow 2015-11-16 17:35:23 +13:00
1238795-1-ref.html Bug 1238795 - add reftest to verify that canvas drawImage respects clipping. r=yury 2016-01-15 12:51:01 -05:00
1238795-1.html Bug 1238795 - add reftest to verify that canvas drawImage respects clipping. r=yury 2016-01-15 12:51:01 -05:00
1303534-1-ref.html Bug 1303534 - Test: Add test verifying clipping and complex blend modes combine correctly. r=jrmuizel 2016-09-29 17:55:26 +02:00
1303534-1.html Bug 1303534 - Test: Add test verifying clipping and complex blend modes combine correctly. r=jrmuizel 2016-09-29 17:55:26 +02:00
1304353-text-global-alpha-1-ref.html Bug 1304353 - part 3 - Add reftests for use of globalAlpha with canvas text drawing. r=bas 2016-09-23 13:38:06 +01:00
1304353-text-global-alpha-1.html Bug 1304353 - part 3 - Add reftests for use of globalAlpha with canvas text drawing. r=bas 2016-09-23 13:38:06 +01:00
1304353-text-global-alpha-2-ref.html Bug 1304353 - part 3 - Add reftests for use of globalAlpha with canvas text drawing. r=bas 2016-09-23 13:38:06 +01:00
1304353-text-global-alpha-2.html Bug 1304353 - part 3 - Add reftests for use of globalAlpha with canvas text drawing. r=bas 2016-09-23 13:38:06 +01:00
1304353-text-global-composite-op-1-ref.html Bug 1304353 followup, add a reftest using globalCompositeOperation with canvas text painting. r=bas 2016-09-28 16:07:06 +01:00
1304353-text-global-composite-op-1.html Bug 1304353 followup, add a reftest using globalCompositeOperation with canvas text painting. r=bas 2016-09-28 16:07:06 +01:00
1347147-1-ref.html Bug 1347147 - fix DrawTargetD2D1::GetImageForSurface to support uploads in device-space. r=mchang 2017-03-14 22:17:47 -04:00
1347147-1.html Bug 1347147 - fix DrawTargetD2D1::GetImageForSurface to support uploads in device-space. r=mchang 2017-03-14 22:17:47 -04:00
1353000-1-ref.html Bug 1353000 - Reftest to check that shaping rotated text does not disrupt non-rotated text due to cache pollution. r=jrmuizel 2017-04-12 14:55:16 +01:00
1353000-1.html Bug 1353000 - Reftest to check that shaping rotated text does not disrupt non-rotated text due to cache pollution. r=jrmuizel 2017-04-12 14:55:16 +01:00
1447035-1-ref.html Bug 1447035 - test to verify that multiple accelerated canvases on the same page work. r=dholbert 2018-03-22 14:34:29 -04:00
1447035-1.html Bug 1447035 - follow-up - reftest comment clarification. r=me 2018-03-22 14:37:43 -04:00
ctm-1-ref.html
ctm-1.html
ctm-sanity.html
ctm-singular-sanity.html
dash-1-ref.svg
dash-1.html Bug 931389 - remove CanvasRenderingContext2D.mozDash/mozDashOffset. r=gw280, r=baku 2016-10-04 11:53:57 -04:00
dash-sanity.html Bug 931389 - remove CanvasRenderingContext2D.mozDash/mozDashOffset. r=gw280, r=baku 2016-10-04 11:53:57 -04:00
default-size-ref.html
default-size.html
empty-transaction-1-ref.html
empty-transaction-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
evenodd-fill-1.html Bug 826619 - Remove Canvas mozFillRule. r=mrbkap r=bas 2016-08-04 15:05:50 -04:00
evenodd-fill-2.html
evenodd-fill-3.html Bug 826619 - Remove Canvas mozFillRule. r=mrbkap r=bas 2016-08-04 15:05:50 -04:00
evenodd-fill-ref.html
evenodd-fill-sanity.html
image-rendering-ref.html
image-rendering-test.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
image-shadow-ref.html
image-shadow.html
image_green-16x16.png
linear-gradient-1-ref.html
linear-gradient-1a.html
linear-gradient-1b.html
nonzero-fill-1.html
nonzero-fill-2.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
size-1-ref.html
size-1.html
size-change-1-ref.html
size-change-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
strokeText-path-ref.html
strokeText-path.html
subpixel-1.html
text-bidi-ltr-notref.html
text-bidi-ltr-ref.html
text-bidi-ltr-test.html
text-bidi-rtl-ref.html
text-bidi-rtl-test.html
text-big-fill.html
text-big-stroke.html
text-blank.html
text-context-state-ref.html
text-context-state-test.html
text-emoji-notref.html
text-emoji.html
text-font-inherit.html
text-font-lang-notref.html
text-font-lang.html
text-horzline-with-bottom.html
text-horzline-with-top.html
text-horzline.html
text-indent-1-ref.html Bug 1347411 part 2. Fix stylo to properly update styles for the various frames that use FCDATA_WITH_WRAPPING_BLOCK to wrap an anonymous block around their kids. r=heycam 2017-03-15 14:00:43 -04:00
text-indent-1a.html Bug 1347411 part 2. Fix stylo to properly update styles for the various frames that use FCDATA_WITH_WRAPPING_BLOCK to wrap an anonymous block around their kids. r=heycam 2017-03-15 14:00:43 -04:00
text-indent-1b.html Bug 1347411 part 2. Fix stylo to properly update styles for the various frames that use FCDATA_WITH_WRAPPING_BLOCK to wrap an anonymous block around their kids. r=heycam 2017-03-15 14:00:43 -04:00
text-ltr-alignment-ref.html
text-ltr-alignment-test.html
text-ltr-end.html
text-ltr-left.html
text-ltr-right.html
text-ltr-start.html
text-measure-ref.html
text-measure.html
text-no-frame-2-test.html
text-no-frame-ref.html
text-no-frame-test.html
text-not-in-doc-ref.html
text-not-in-doc-test.html
text-rtl-alignment-ref.html
text-rtl-alignment-test.html
text-rtl-end.html
text-rtl-left.html
text-rtl-right.html
text-rtl-start.html
text-small-caps-1-ref.html bug 458634 - part 3 - reftests for real small-cap support. r=jdaggett 2014-05-28 11:35:17 +01:00
text-small-caps-1.html bug 458634 - part 3 - reftests for real small-cap support. r=jdaggett 2014-05-28 11:35:17 +01:00
text-space-replace-ref.html
text-space-replace-test.html
text-subpixel-1-ref.html
text-subpixel-1.html
transformed-clip-ref.html
transformed-clip.html
transformed-gradient-ref.html
transformed-gradient.html
transformed-path-ref.html
transformed-path.html
zero-dimensions-ref.html
zero-dimensions.html