mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 02:35:41 +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
17 lines
1.1 KiB
Plaintext
17 lines
1.1 KiB
Plaintext
# Composing dotted/dashed border rendering and not-filled or not-unfilled mask
|
|
# matches to full-filled box, using fuzzyy because of anti-aliasing.
|
|
# These check filled and unfilled regions with solid opaque color,
|
|
# so difference less than 80 is ignorable.
|
|
|
|
# XXX: We mark fails-if to these tests for now to enable styled border in WR.
|
|
# We should remove them after Bug 1399485 is fixed.
|
|
fuzzy(0-80,0-1500) fails-if(webrender) == border-dotted-interaction.html masked.html
|
|
fuzzy(0-80,0-1500) fails-if(webrender) == border-dotted-no-radius.html masked.html
|
|
fuzzy(0-80,0-1500) fails-if(webrender) == border-dotted-radius.html masked.html
|
|
fuzzy(0-80,0-1500) fails-if(webrender) == border-dashed-no-radius.html masked.html
|
|
fuzzy(0-80,0-1500) fails-if(webrender) == border-dashed-radius.html masked.html
|
|
fuzzy(0-80,0-1500) fails-if(webrender) == border-mixed.html masked.html
|
|
fuzzy(0-80,0-1500) fails-if(webrender) == border-dashed-non-integer.html masked.html
|
|
fuzzy(0-80,0-1500) fails-if(webrender) == border-dashed-radius-zoom.html masked-zoom.html
|
|
fuzzy(0-80,0-1500) fails-if(webrender) == border-dotted-radius-zero.html masked-small.html
|