gecko-dev/layout/reftests/columns
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
..
ahem.css
basic-1.html
basic-ref.html
break-avoid-line-position-1-ref.html Bug 1308876 - Don't continue reflow after deciding we need to try again due to page-break-inside:avoid. r=mats 2017-07-12 19:37:12 -07:00
break-avoid-line-position-1.html Bug 1308876 - Don't continue reflow after deciding we need to try again due to page-break-inside:avoid. r=mats 2017-07-12 19:37:12 -07:00
column-balancing-000.html
column-balancing-000.ref.html
column-balancing-001.html
column-balancing-002.html
column-balancing-002.ref.html
column-balancing-003.html
column-balancing-004.html
column-balancing-004.ref.html
column-balancing-nested-000-ref.html
column-balancing-nested-000.html
column-balancing-nested-001-ref.html
column-balancing-nested-001.html
column-balancing-overflow-000.html
column-balancing-overflow-000.ref.html
column-balancing-overflow-001.html
column-balancing-overflow-002.html
column-balancing-overflow-002.ref.html
column-balancing-overflow-003.html
column-balancing-overflow-003.ref.html
column-balancing-overflow-004.html
column-balancing-overflow-004.ref.html
column-balancing-overflow-005.html
column-balancing-overflow-005.ref.html
column-box-alignment-rtl-ref.html
column-box-alignment-rtl.html
columnfill-auto-2-ref.html
columnfill-auto-2.html
columnfill-auto-3.html
columnfill-auto-ref.html
columnfill-auto.html
columnfill-balance-ref.html
columnfill-balance.html
columnfill-overflow-ref.html
columnfill-overflow.html
columnrule-basic-ref.html
columnrule-basic.html
columnrule-complex-ref.html
columnrule-complex.html
columnrule-linestyles-notref.html
columnrule-linestyles.html
columnrule-overflow-ref.html
columnrule-overflow.html
columnrule-padding-ref.html
columnrule-padding.html
columns-table-caption-000-ref.html
columns-table-caption-000.html
dynamic-change-with-overflow-1-ref.html
dynamic-change-with-overflow-1.html
dynamic-text-indent-1-ref.html
dynamic-text-indent-1.html
dynamic-text-indent-2-ref.html
dynamic-text-indent-2.html
fieldset-columns-001-ref.html
fieldset-columns-001.html
margin-collapsing-bug616722-1-ref.html
margin-collapsing-bug616722-1.html
margin-collapsing-bug616722-2-ref.html
margin-collapsing-bug616722-2.html
min-width-1-ref.html
min-width-1a.html
min-width-1b.html
min-width-1c.html
min-width-2-ref.html
min-width-2.html
positioning-transforms-bug1112501-ref.html
positioning-transforms-bug1112501.html
pref-width-1-ref.html
pref-width-1a.html
pref-width-1b.html
pref-width-1c.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