gecko-dev/layout/reftests/text-shadow
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
..
723669-ref.html
723669.html
basic-negcoord-ref.html
basic-negcoord-ref.xul
basic-negcoord.html
basic-negcoord.xul
basic-opacity-ref.html
basic-opacity.html
basic-ref.html
basic-ref.xul
basic.html
basic.xul
blur-notref.html
blur-notref.xul
blur-opacity-ref.html
blur-opacity.html
blur.html
blur.xul
color-inherit-ref.html
color-inherit-ref.xul
color-inherit.html
color-inherit.xul
color-parserorder-ref.html
color-parserorder.html
decorations-multiple-zorder-ref.html
decorations-multiple-zorder.html
lineoverflow-ref.html
lineoverflow.html
multiple-noblur-ref.html
multiple-noblur-ref.xul
multiple-noblur.html
multiple-noblur.xul
overflow-clip-ref.html Bug 1449976 - Add regression test for fast-shadow clipping. r=jrmuizel 2018-04-03 13:01:00 -04:00
overflow-clip.html Bug 1449976 - Add regression test for fast-shadow clipping. r=jrmuizel 2018-04-03 13:01:00 -04:00
overflow-decoration-ref.html
overflow-decoration.html
overflow-not-scrollable-1-ref.html
overflow-not-scrollable-1-ref2.html
overflow-not-scrollable-1.html
overflow-not-scrollable-2-ref.html
overflow-not-scrollable-2.html
padding-decoration-ref.html
padding-decoration.html
quirks-decor-noblur-ref.html
quirks-decor-noblur.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
standards-decor-noblur-ref.html
standards-decor-noblur.html
text-shadow-on-selection-1-ref.html
text-shadow-on-selection-1.html
text-shadow-on-selection-2-ref.html
text-shadow-on-selection-2.html
text-shadow-on-space-1-ref.html
text-shadow-on-space-1.html
text-shadow-selected-1-notref.html
text-shadow-selected-1-ref.html
text-shadow-selected-1.html
text-shadow-selected-2-notref.html
text-shadow-selected-2-ref.html
text-shadow-selected-2.html
textindent-ref.html
textindent.html