mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 18:26:15 +00:00
1e88f0f003
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
40 lines
1.1 KiB
Plaintext
40 lines
1.1 KiB
Plaintext
fuzzy-if(skiaContent,0-1,0-10) fuzzy-if(Android,0-2,0-10) == text-control-baseline-1.html text-control-baseline-1-ref.html
|
|
fuzzy-if(cocoaWidget,0-18,0-68) fuzzy-if(Android,0-52,0-64) fuzzy-if(winWidget,0-88,0-624) == display-block-baselines-1.html display-block-baselines-1-ref.html # anti-aliasing issues
|
|
== display-block-baselines-2.html display-block-baselines-2-ref.html
|
|
== display-block-baselines-3.html display-block-baselines-3-ref.html
|
|
== display-block-baselines-4.html display-block-baselines-4-ref.html
|
|
fuzzy-if(Android,0-4,0-8) fuzzy-if(skiaContent,0-7,0-2) == display-block-baselines-5.html display-block-baselines-5-ref.html
|
|
|
|
# button element
|
|
include button/reftest.list
|
|
|
|
# legend element
|
|
include legend/reftest.list
|
|
|
|
# fieldset element
|
|
include fieldset/reftest.list
|
|
|
|
# placeholder
|
|
include placeholder/reftest.list
|
|
|
|
# input
|
|
include input/reftest.list
|
|
|
|
# meter element
|
|
include meter/reftest.list
|
|
|
|
# output element
|
|
include output/reftest.list
|
|
|
|
# progress element
|
|
include progress/reftest.list
|
|
|
|
# select element
|
|
include select/reftest.list
|
|
|
|
# textarea element
|
|
include textarea/reftest.list
|
|
|
|
# textbox element
|
|
include textbox/reftest.list
|