gecko-dev/layout/reftests/css-break
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
..
1405443-ref.html Bug 1405443 - Don't delete next-in-flows when the state IsInlineBreakBefore. r=dholbert 2017-10-06 20:59:09 +02:00
1405443.html Bug 1405443 - Don't delete next-in-flows when the state IsInlineBreakBefore. r=dholbert 2017-10-06 20:59:09 +02:00
box-decoration-break-1-ref.html
box-decoration-break-1.html
box-decoration-break-block-border-padding-ref.html
box-decoration-break-block-border-padding.html
box-decoration-break-block-margin-ref.html
box-decoration-break-block-margin.html
box-decoration-break-border-image-ref.html
box-decoration-break-border-image.html
box-decoration-break-bug-1235152-ref.html
box-decoration-break-bug-1235152.html
box-decoration-break-bug-1249913-ref.html
box-decoration-break-bug-1249913.html
box-decoration-break-first-letter-ref.html
box-decoration-break-first-letter.html
box-decoration-break-with-bidi-ref.html
box-decoration-break-with-bidi.html
box-decoration-break-with-inset-box-shadow-1-ref.html
box-decoration-break-with-inset-box-shadow-1.html
box-decoration-break-with-outset-box-shadow-1-ref.html
box-decoration-break-with-outset-box-shadow-1.html
green-circle-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
vertical-wm-001-ref.html
vertical-wm-001.html