gecko-dev/layout/reftests/css-display
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
..
display-contents-495385-2d-ref.html
display-contents-495385-2d.html
display-contents-acid-dyn-1.html
display-contents-acid-dyn-2.html
display-contents-acid-dyn-3.html
display-contents-acid-ref.html
display-contents-acid.html
display-contents-dyn-insert-text-ref.html
display-contents-dyn-insert-text.html
display-contents-fieldset-ref.html
display-contents-fieldset.html
display-contents-generated-content-2.html
display-contents-generated-content-ref.html
display-contents-generated-content.html
display-contents-list-item-child-ref.html
display-contents-list-item-child.html
display-contents-shadow-dom-1-ref.html
display-contents-state-change-ref.html
display-contents-state-change.html
display-contents-style-inheritance-1-dom-mutations.html
display-contents-style-inheritance-1-ref.html
display-contents-style-inheritance-1-stylechange.html
display-contents-style-inheritance-1.html
display-contents-suppression-dynamic-ref.html Bug 1453702: [css-display] Move unboxing to style, and handle display: contents before other suppressions. r=mats,xidorn 2018-04-16 12:56:30 +02:00
display-contents-suppression-dynamic.html Bug 1453702: [css-display] Move unboxing to style, and handle display: contents before other suppressions. r=mats,xidorn 2018-04-16 12:56:30 +02:00
display-contents-tables-2.xhtml
display-contents-tables-3-ref.xhtml
display-contents-tables-3.xhtml
display-contents-tables-ref.xhtml
display-contents-tables.xhtml
display-contents-visibility-hidden-2.html
display-contents-visibility-hidden-ref.html
display-contents-visibility-hidden.html
display-contents-writing-mode-1-ref.html
display-contents-writing-mode-1.html
display-contents-writing-mode-2-ref.html
display-contents-writing-mode-2.html
display-contents-xbl-2-ref.xul
display-contents-xbl-2.xul
display-contents-xbl-3-ref.xul
display-contents-xbl-3.xul
display-contents-xbl-4-ref.xul
display-contents-xbl-4.xul
display-contents-xbl-5.xul
display-contents-xbl-6-ref.html
display-contents-xbl-6.xhtml
display-contents-xbl-7-ref.html
display-contents-xbl-7.xhtml
display-contents-xbl-ref.html
display-contents-xbl.xhtml
display-flow-root-001-ref.html
display-flow-root-001.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