gecko-dev/layout/reftests/abs-pos
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
..
abs-pos-auto-margin-1-ref.html
abs-pos-auto-margin-1.html
abs-pos-auto-margin-centered-ref.html
abs-pos-auto-margin-centered.html
auto-offset-inline-block-1-ref.html
auto-offset-inline-block-1.html
button-1-ref.html
button-1.html Bug 1365614 part 3 - Backout bug 1333482 part 1-9. Removes support for [-webkit-]appearance for now b/c web compat issues. r=bz 2017-05-21 17:15:00 +08:00
button-2-ref.html
button-2.html Bug 1365614 part 3 - Backout bug 1333482 part 1-9. Removes support for [-webkit-]appearance for now b/c web compat issues. r=bz 2017-05-21 17:15:00 +08:00
continuation-positioned-inline-1.html
continuation-positioned-inline-2.html
continuation-positioned-inline-ref.html
fieldset-1-ref.html
fieldset-1.html
fixed-pos-auto-offset-1-ref.html
fixed-pos-auto-offset-1a.html
fixed-pos-auto-offset-1b.html
font-size-wrap-ref.html
font-size-wrap.html
multi-column-1-ref.html
multi-column-1.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
relative-row-animation-1-ref.html
relative-row-animation-1.html
scrollframe-1-ref.html
scrollframe-1.html
scrollframe-2-ref.html
scrollframe-2.html
select-1-dynamic.html
select-1-ref.html
select-1.html
select-2-ref.html
select-2.html
select-3-ref.html
select-3.html
table-1-ref.html
table-1.html
table-2-ref.html
table-2.html
table-3-ref.html
table-3.html
table-caption-1.html
table-caption-2.html
table-caption-3.html
table-caption-4.html
table-caption-5.html Bug 1382327 - (reftest) Rename reftest-print to reftest-paged. r=dbaron 2017-07-26 22:53:46 -07:00
table-cell-1.html
table-cell-2.html
table-cell-3.html
table-cell-4.html
table-cell-5.html
table-cell-6.html
table-cell-7.html
table-cell-8.html Bug 1382327 - (reftest) Rename reftest-print to reftest-paged. r=dbaron 2017-07-26 22:53:46 -07:00
table-footer-group-1.html
table-footer-group-2.html
table-footer-group-3.html
table-footer-group-4.html
table-footer-group-5.html
table-footer-group-6.html
table-footer-group-7.html
table-header-group-1.html
table-header-group-2.html
table-header-group-3.html
table-header-group-4.html
table-header-group-5.html
table-header-group-6.html
table-header-group-7.html
table-internal-1-ref.html
table-internal-2-ref.html
table-internal-3-ref.html
table-internal-4-ref.html
table-internal-5-ref.html
table-internal-6-ref.html
table-internal-7-ref.html
table-internal-8-ref.html
table-print-1-ref.html Bug 1382327 - (reftest) Rename reftest-print to reftest-paged. r=dbaron 2017-07-26 22:53:46 -07:00
table-row-1.html
table-row-2.html
table-row-3.html
table-row-4.html
table-row-5.html
table-row-6.html
table-row-7.html
table-row-group-1.html
table-row-group-2.html
table-row-group-3.html
table-row-group-4.html
table-row-group-5.html
table-row-group-6.html
table-row-group-7.html