gecko-dev/layout/reftests/text-transform
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
..
all-lower-ref.html Bug 1466471 - Part 5: Regenerate Unicode files after ICU update. r=jfkthame 2018-06-22 05:02:03 -07:00
all-lower.html Bug 1466471 - Part 5: Regenerate Unicode files after ICU update. r=jfkthame 2018-06-22 05:02:03 -07:00
all-title-ref.html Bug 1466471 - Part 5: Regenerate Unicode files after ICU update. r=jfkthame 2018-06-22 05:02:03 -07:00
all-title.html Bug 1466471 - Part 5: Regenerate Unicode files after ICU update. r=jfkthame 2018-06-22 05:02:03 -07:00
all-upper-ref.html Bug 1476304 - Exclude Georgian letters from the mapping used by text-transform:uppercase, due to lack of font support. r=gandalf 2018-07-27 14:35:04 +01:00
all-upper.html Bug 1476304 - Exclude Georgian letters from the mapping used by text-transform:uppercase, due to lack of font support. r=gandalf 2018-07-27 14:35:04 +01:00
capitalize-1.html
capitalize-2.html
capitalize-3-ref.html
capitalize-3.html
capitalize-4-ref.html
capitalize-4.html
capitalize-5-ref.html
capitalize-5.html
capitalize-6-ref.html
capitalize-6.html
capitalize-7-ref.html
capitalize-7.html
capitalize-7a.html
capitalize-8-ref.html Bug 1309582 - Reftest for text-transform:capitalize with literal newlines in preformatted text. r=m_kato 2016-10-17 08:52:25 +01:00
capitalize-8.html Bug 1309582 - Reftest for text-transform:capitalize with literal newlines in preformatted text. r=m_kato 2016-10-17 08:52:25 +01:00
capitalize-ref.html
fake-small-caps-1-ref.html
fake-small-caps-1.html
fullwidth-1-ref.html
fullwidth-1.html
fullwidth-2-ref.html
fullwidth-2.html
fullwidth-all-ref.html
fullwidth-all.html
graphite-small-caps-1-notref.html
graphite-small-caps-1-ref.html
graphite-small-caps-1.html
greek-small-caps-1-ref.html
greek-small-caps-1.html
greek-uppercase-1-ref.html
greek-uppercase-1a.html
greek-uppercase-1b.html
greek-uppercase-2-ref.html
greek-uppercase-2.html
greek-uppercase-3-ref.html Bug 1322989 - Reftest for uppercasing of Greek disjunctive eta (ή). r=m_kato 2016-12-20 10:07:32 +00:00
greek-uppercase-3.html Bug 1322989 - Reftest for uppercasing of Greek disjunctive eta (ή). r=m_kato 2016-12-20 10:07:32 +00:00
irish-lowercase-1-ref.html
irish-lowercase-1a.html
irish-lowercase-1b.html
irish-uppercase-1-ref.html
irish-uppercase-1.html
lowercase-1.html
lowercase-ref.html
lowercase-sigma-1-ref.html
lowercase-sigma-1.html
opentype-small-caps-1-notref.html
opentype-small-caps-1-ref.html
opentype-small-caps-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
small-caps-1-ref.html
small-caps-1.html
small-caps-turkish-1-notref.html
small-caps-turkish-1.html
smtp-lower-ref.html
smtp-lower.html
smtp-title-ref.html
smtp-title.html
smtp-upper-ref.html
smtp-upper.html
turkish-casing-1-ref.html
turkish-casing-1.html
uppercase-1.html
uppercase-ref.html
uppercase-szlig-1.html
uppercase-szlig-ref.html