gecko-dev/layout/reftests/css-ruby
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
..
bidi-1-ref.html
bidi-1.html
bidi-2-ref.html
bidi-2.html
box-generation-1-ref.html
box-generation-1.html
box-generation-2-ref.html
box-generation-2.html
box-generation-3-ref.html
box-generation-3.html
box-generation-4-ref.html
box-generation-4.html
box-generation-5-ref.html
box-generation-5.html
box-properties-1-ref.html
box-properties-1.html
box-properties-2-ref.html
box-properties-2.html
box-properties-3-ref.html
box-properties-3.html
box-properties-4-ref.html
box-properties-4.html
bug1181890-notref.html
bug1181890-ref.html
bug1181890.html
common.css Bug 1141895 part 2 - Use unprefixed unicode-bidi values in internal code. r=jfkthame 2016-06-30 16:25:31 +10:00
dynamic-insertion-1-ref.html
dynamic-insertion-1.html
dynamic-insertion-2-ref.html
dynamic-insertion-2.html
dynamic-insertion-3-ref.html
dynamic-insertion-3.html
dynamic-insertion.js
dynamic-removal-1-ref.html
dynamic-removal-1.html
dynamic-removal-2-ref.html
dynamic-removal-2.html
dynamic-removal-3-ref.html
dynamic-removal-3.html
dynamic-removal.js Bug 1334831 - script-generated patch to use .remove() instead of .parentNode.removeChild, r=jaws. 2017-01-30 08:10:22 +01:00
float-handling-ref.html
float-handling.html
inflated-ruby-1-ref.html
inflated-ruby-1.html
intra-level-whitespace-1-ref.html
intra-level-whitespace-1.html
intra-level-whitespace-2-ref.html
intra-level-whitespace-2.html
intra-level-whitespace-3-ref.html
intra-level-whitespace-3.html
intrinsic-isize-1-ref.html
intrinsic-isize-1.html
intrinsic-isize-2-ref.html
intrinsic-isize-2.html
justification-1-ref.html Bug 1364714 - (re-landing) Update Freetype to version 2.8, and fix/annotate tests affected by changes to font metrics & rasterization. r=dholbert,jwatt,ryanvm,jfkthame 2017-08-22 09:20:05 +01:00
justification-1.html Bug 1364714 - (re-landing) Update Freetype to version 2.8, and fix/annotate tests affected by changes to font metrics & rasterization. r=dholbert,jwatt,ryanvm,jfkthame 2017-08-22 09:20:05 +01:00
justification-2-ref.html Bug 1039541 part 2 - Use unprefixed text-align-last in tests. r=heycam 2016-05-30 14:52:01 +10:00
justification-2.html Bug 1039541 part 2 - Use unprefixed text-align-last in tests. r=heycam 2016-05-30 14:52:01 +10:00
lang-specific-style-1-ref.html
lang-specific-style-1.html
line-break-suppression-1-ref.html
line-break-suppression-1.html
line-break-suppression-2-ref.html
line-break-suppression-2.html
line-break-suppression-3-ref.html
line-break-suppression-3.html
line-break-suppression-4-ref.html
line-break-suppression-4.html
line-break-suppression-5-ref.html
line-break-suppression-5.html
line-breaking-1-ref.html
line-breaking-1.html
line-breaking-2-ref.html
line-breaking-2.html
line-breaking-3-ref.html Bug 1404179 - Prepend rather than append frames from overflow list of prev-in-flow for ruby frames. r=dholbert 2017-10-03 16:19:41 +11:00
line-breaking-3.html Bug 1404179 - Prepend rather than append frames from overflow list of prev-in-flow for ruby frames. r=dholbert 2017-10-03 16:19:41 +11:00
line-height-1-ref.html
line-height-1.html
line-height-2-ref.html
line-height-2.html
line-height-3-ref.html
line-height-3.html
line-height-4-ref.html
line-height-4.html
min-font-size-1-ref.html
min-font-size-1.html
nested-ruby-1.html
no-transform-ref.html
no-transform.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-positioning-1-ref.html
relative-positioning-1.html
relative-positioning-2-ref.html
relative-positioning-2.html
ruby-align-1-ref.html Bug 1039541 part 2 - Use unprefixed text-align-last in tests. r=heycam 2016-05-30 14:52:01 +10:00
ruby-align-1.html
ruby-align-1a.html
ruby-align-2-ref.html Bug 1039541 part 2 - Use unprefixed text-align-last in tests. r=heycam 2016-05-30 14:52:01 +10:00
ruby-align-2.html
ruby-align-2a.html
ruby-intercharacter-1-ref.htm Bug 1395777 (part 2) - Make orthogonal ruby annotations inter-character. r=xidorn 2017-08-31 17:41:13 -07:00
ruby-intercharacter-1.htm Bug 1395777 (part 2) - Make orthogonal ruby annotations inter-character. r=xidorn 2017-08-31 17:41:13 -07:00
ruby-intercharacter-2-ref.htm Bug 1395777 (part 2) - Make orthogonal ruby annotations inter-character. r=xidorn 2017-08-31 17:41:13 -07:00
ruby-intercharacter-2.htm Bug 1395777 (part 2) - Make orthogonal ruby annotations inter-character. r=xidorn 2017-08-31 17:41:13 -07:00
ruby-position-horizontal-ref.html
ruby-position-horizontal.html
ruby-position-vertical-lr-ref.html
ruby-position-vertical-lr.html
ruby-position-vertical-rl-ref.html
ruby-position-vertical-rl.html
ruby-reflow-1-noruby.html Bug 1364714 - (re-landing) Update Freetype to version 2.8, and fix/annotate tests affected by changes to font metrics & rasterization. r=dholbert,jwatt,ryanvm,jfkthame 2017-08-22 09:20:05 +01:00
ruby-reflow-1-opaqueruby.html
ruby-reflow-1-transparentruby.html Bug 1364714 - (re-landing) Update Freetype to version 2.8, and fix/annotate tests affected by changes to font metrics & rasterization. r=dholbert,jwatt,ryanvm,jfkthame 2017-08-22 09:20:05 +01:00
ruby-span-1-ref.html
ruby-span-1.html
ruby-whitespace-1-ref.html
ruby-whitespace-1.html
ruby-whitespace-2-ref.html
ruby-whitespace-2.html
utils.js