gecko-dev/layout/reftests/scrolling
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
..
deferred-anchor-ref.xhtml
deferred-anchor.xhtml
deferred-anchor2.xhtml
fixed-1.html
fixed-opacity-1.html
fixed-opacity-2.html
fixed-table-1.html
fixed-text-1.html
fixed-text-2.html
fractional-scroll-area-invalidation.html
fractional-scroll-area.html
frame-scrolling-attr-1.html
frame-scrolling-attr-2.html
frame-scrolling-attr-ref.html
huge-horizontal-overflow-ref.html
huge-horizontal-overflow.html
huge-vertical-overflow-ref.html
huge-vertical-overflow.html
iframe-border-radius-frame.html Bug 1383732 - Update more reftests to comply with new data: URI inheritance model. r=smaug 2017-07-24 20:35:21 +02:00
iframe-border-radius-ref.html Bug 1383732 - Update more reftests to comply with new data: URI inheritance model. r=smaug 2017-07-24 20:35:21 +02:00
iframe-border-radius.html Bug 1383732 - Update more reftests to comply with new data: URI inheritance model. r=smaug 2017-07-24 20:35:21 +02:00
iframe-deferred-anchor.xhtml
iframe-scrolling-attr-1.html
iframe-scrolling-attr-2.html Bug 1444332: Guarantee an initial paint to make sure the test passes consistently. r=dholbert 2018-04-04 20:17:20 +02:00
iframe-scrolling-attr-ref.html
image-1.html
layer-change-1-frame.html
layer-change-1-ref.html
layer-change-1.html
less-than-scrollbar-height-ref.html
less-than-scrollbar-height.html
move-item-ref.html
move-item.html
opacity-mixed-scrolling-1.html
opacity-mixed-scrolling-2.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
propagated-overflow-style-1-ref.html Bug 1344398 part 3: Add reftests for dynamic changes to "overflow" on html & body elements. r=tnikkel 2017-05-10 13:55:37 -07:00
propagated-overflow-style-1a.html Bug 1344398 part 3: Add reftests for dynamic changes to "overflow" on html & body elements. r=tnikkel 2017-05-10 13:55:37 -07:00
propagated-overflow-style-1b.html Bug 1344398 part 3: Add reftests for dynamic changes to "overflow" on html & body elements. r=tnikkel 2017-05-10 13:55:37 -07:00
propagated-overflow-style-1c.html Bug 1344398 part 3: Add reftests for dynamic changes to "overflow" on html & body elements. r=tnikkel 2017-05-10 13:55:37 -07:00
propagated-overflow-style-2-ref.html Bug 1344398 part 3: Add reftests for dynamic changes to "overflow" on html & body elements. r=tnikkel 2017-05-10 13:55:37 -07:00
propagated-overflow-style-2a.html Bug 1344398 part 3: Add reftests for dynamic changes to "overflow" on html & body elements. r=tnikkel 2017-05-10 13:55:37 -07:00
propagated-overflow-style-2b.html Bug 1344398 part 3: Add reftests for dynamic changes to "overflow" on html & body elements. r=tnikkel 2017-05-10 13:55:37 -07:00
propagated-overflow-style-2c.html Bug 1344398 part 3: Add reftests for dynamic changes to "overflow" on html & body elements. r=tnikkel 2017-05-10 13:55:37 -07:00
propagated-overflow-style-2d.html Bug 1344398 part 3: Add reftests for dynamic changes to "overflow" on html & body elements. r=tnikkel 2017-05-10 13:55:37 -07:00
propagated-overflow-style-2e.html Bug 1344398 part 3: Add reftests for dynamic changes to "overflow" on html & body elements. r=tnikkel 2017-05-10 13:55:37 -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
repeatable-diagonal-gradient.png
scroll-behavior-1.html
scroll-behavior-2.html
scroll-behavior-3.html
scroll-behavior-4.html
scroll-behavior-5.html
scroll-behavior-6.html
scroll-behavior-7.html
scroll-behavior-8.html
scroll-behavior-9.html
scroll-behavior-10.html
scroll-behavior-textarea.html
scrolling.js
simple-1.html
subpixel-1-ref.html
subpixel-1.html
text-1.html
text-2.html
transformed-1.html
uncovering-1-ref.html
uncovering-1.html
uncovering-2-ref.html
uncovering-2.html
xul-scrollbar-iterate-ref.html Bug 1379334 - Make XULScrollFrame test for needing a vertical scrollbar because of the size of the horizontal scrollbar. r=dholbert 2017-07-12 19:37:11 -07:00
xul-scrollbar-iterate.html Bug 1379334 - Make XULScrollFrame test for needing a vertical scrollbar because of the size of the horizontal scrollbar. r=dholbert 2017-07-12 19:37:11 -07:00