# These tests verify that CSS filters behave properly.
# e.g. filter: blur(3px)

default-preferences pref(layout.css.filters.enabled,true)

fuzzy-if(webrender,9-9,4780-4780) == blur.html blur-ref.html
== blur.svg blur-ref.svg
== blur-calc.html blur-calc-ref.html
== blur-calc-negative.html blur-calc-negative-ref.html
skip-if(d2d) == blur-cap-large-radius-on-software.html blur-cap-large-radius-on-software-ref.html
fuzzy-if(webrender,9-9,4780-4780) == blur-em-radius.html blur-em-radius-ref.html
== blur-invalid-radius.html blur-invalid-radius-ref.html
fuzzy-if(webrender,9-9,4780-4780) == blur-rem-radius.html blur-rem-radius-ref.html
== blur-zero-radius.html blur-zero-radius-ref.html
fuzzy-if(webrender,6-6,21308-21308) == blur-zoomed-page.html blur-zoomed-page-ref.html
== brightness.html brightness-ref.html
== brightness-darken.html brightness-darken-ref.html
== brightness-extreme.html brightness-extreme-ref.html
== brightness-one.html brightness-one-ref.html
== brightness-percent.html brightness-percent-ref.html
== brightness-zero.html brightness-zero-ref.html
== containing-block-1.html containing-block-1-ref.html
== contrast.html contrast-ref.html
== contrast-extreme.html contrast-extreme-ref.html
== contrast-one.html contrast-one-ref.html
== contrast-percent.html contrast-percent-ref.html
== contrast-reduce.html contrast-reduce-ref.html
== contrast-zero.html contrast-zero-ref.html
== drop-shadow.html drop-shadow-ref.html
== drop-shadow-default-color.html drop-shadow-default-color-ref.html
== drop-shadow-negative-offset.html drop-shadow-negative-offset-ref.html
== filter-on-huge-bbox.html pass.svg
== filter-on-outer-svg.html pass.svg
fuzzy-if(webrender,1,10000) fuzzy-if(d2d,1,10000) == grayscale.html grayscale-ref.html
fuzzy-if(webrender,1,10000) fuzzy-if(d2d,1,10000) == grayscale-one.html grayscale-one-ref.html
fuzzy-if(webrender,1,10000) fuzzy-if(d2d,1,10000) fails-if(stylo&&webrender) == grayscale-over-one.html grayscale-over-one-ref.html
fuzzy-if(webrender,1,10000) fuzzy-if(d2d,1,10000) == grayscale-percent.html grayscale-percent-ref.html
fuzzy-if(webrender,1,10000) == grayscale-zero.html grayscale-zero-ref.html
== hue-rotate.html hue-rotate-ref.html
== hue-rotate-360.html hue-rotate-360-ref.html
== hue-rotate-grad.html hue-rotate-grad-ref.html
fuzzy-if(d2d,2,7500) == hue-rotate-multichannel.html hue-rotate-multichannel-ref.html
== hue-rotate-negative.html hue-rotate-negative-ref.html
== hue-rotate-over-360.html hue-rotate-over-360-ref.html
== hue-rotate-rad.html hue-rotate-rad-ref.html
== hue-rotate-turn.html hue-rotate-turn-ref.html
== hue-rotate-zero.html hue-rotate-zero-ref.html
fuzzy-if(webrender,1,10000) fuzzy-if(d2d,1,10000) == invert.html invert-ref.html
fuzzy-if(webrender,1,10000) == invert-half.html invert-half-ref.html
== invert-one.html invert-one-ref.html
== invert-over-one.html invert-over-one-ref.html
fuzzy-if(webrender,1,10000) fuzzy-if(d2d,1,10000) == invert-percent.html invert-percent-ref.html
== invert-zero.html invert-zero-ref.html
fuzzy-if(d2d,1,10000) == opacity.html opacity-ref.html
== opacity-one.html opacity-one-ref.html
== opacity-over-one.html opacity-over-one-ref.html
fuzzy-if(skiaContent,1,10000) == opacity-over-one-translucent-source.html opacity-over-one-translucent-source-ref.html
fuzzy-if(d2d,1,10000) == opacity-percent.html opacity-percent-ref.html
== opacity-zero.html opacity-zero-ref.html
== saturate.html saturate-ref.html
fuzzy-if(d2d,1,10000) == saturate-desaturate.html saturate-desaturate-ref.html
== saturate-extreme.html saturate-extreme-ref.html
== saturate-one.html saturate-one-ref.html
== saturate-percent.html saturate-percent-ref.html
fuzzy-if(d2d,1,10000) == saturate-zero.html saturate-zero-ref.html
fuzzy-if(webrender,1,10000) fuzzy-if(d2d,1,10000) == sepia.html sepia-ref.html
fuzzy-if(webrender,1,10000) fuzzy-if(d2d,1,10000) == sepia-one.html sepia-one-ref.html
fuzzy-if(webrender,1,10000) fuzzy-if(d2d,1,10000) fails-if(stylo&&webrender) == sepia-over-one.html sepia-over-one-ref.html
fuzzy-if(webrender,1,10000) fuzzy-if(d2d,1,10000) == sepia-percent.html sepia-percent-ref.html
== sepia-zero.html sepia-zero-ref.html

fuzzy(2,125000) fails-if(webrender) == scale-filtered-content-01.html scale-filtered-content-01-ref.html
