mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 11:45:37 +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
15 lines
1.3 KiB
Plaintext
15 lines
1.3 KiB
Plaintext
fuzzy(0-2,0-18) fuzzy-if(webrender,0-52,0-1452) == outline-and-box-shadow.html outline-and-box-shadow-ref.html
|
|
== outline-and-3d-transform-1a.html outline-and-3d-transform-1-ref.html
|
|
== outline-and-3d-transform-1b.html outline-and-3d-transform-1-ref.html
|
|
fuzzy-if(gtkWidget,0-136,0-120) fuzzy-if(Android,0-255,0-356) fuzzy-if(d2d,0-16,0-96) fuzzy-if(cocoaWidget,0-255,0-120) fuzzy-if(winWidget,0-255,0-216) == outline-and-3d-transform-2.html outline-and-3d-transform-2-ref.html
|
|
== outline-dynamic-change-1a.html outline-dynamic-change-1-ref.html
|
|
== outline-dynamic-change-1b.html outline-dynamic-change-1-ref.html
|
|
== outline-overflow-block-abspos.html outline-overflow-block-ref.html
|
|
== outline-overflow-block-float.html outline-overflow-block-ref.html
|
|
== outline-overflow-inlineblock-abspos.html outline-overflow-inlineblock-ref.html
|
|
== outline-overflow-inlineblock-float.html outline-overflow-inlineblock-ref.html
|
|
pref(layout.css.outline-style-auto.enabled,true) skip-if(!gtkWidget&&!winWidget&&!cocoaWidget) == outline-auto-001.html outline-auto-001-ref.html # only works on platforms that supports NS_THEME_FOCUS_OUTLINE
|
|
pref(layout.css.outline-style-auto.enabled,false) == outline-auto-001.html outline-auto-001-solid-ref.html
|
|
== outline-initial-1a.html outline-initial-1-ref.html
|
|
== outline-initial-1b.html outline-initial-1-ref.html
|