Bug 924103 - Tweak SVG filter reftests. r=roc

This commit is contained in:
Markus Stange 2013-11-27 12:26:18 +01:00
parent 522437055c
commit 9366009241
8 changed files with 16 additions and 16 deletions

View File

@ -16,7 +16,7 @@ random-if(d2d) == element-paint-transform-02.html element-paint-transform-02-ref
== element-paint-background-size-01.html element-paint-background-size-01-ref.html
== element-paint-background-size-02.html element-paint-background-size-02-ref.html
== element-paint-transform-repeated.html element-paint-transform-repeated-ref.html
== element-paint-transform-03.html element-paint-transform-03-ref.html
fuzzy-if(d2d,255,24) == element-paint-transform-03.html element-paint-transform-03-ref.html
== element-paint-native-widget.html element-paint-native-widget-ref.html
== element-paint-subimage-sampling-restriction.html about:blank
== element-paint-clippath.html element-paint-clippath-ref.html

View File

@ -5,5 +5,5 @@
<svg xmlns="http://www.w3.org/2000/svg">
<title>Reference for feConvolveMatrix with bias</title>
<!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=527325 -->
<rect x="0" y="0" width="100" height="100" fill="rgb(187,255,187)"/>
<rect x="0" y="0" width="100" height="100" fill="rgb(128,255,128)"/>
</svg>

Before

Width:  |  Height:  |  Size: 363 B

After

Width:  |  Height:  |  Size: 363 B

View File

@ -6,7 +6,7 @@
<title>Testcase for feConvolveMatrix with bias</title>
<!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=527325 -->
<defs>
<filter id="filter" filterUnits="objectBoundingBox" x="0%" y="0%" width="100%" height="100%">
<filter id="filter" filterUnits="objectBoundingBox" x="0%" y="0%" width="100%" height="100%" style="color-interpolation-filters: sRGB">
<feConvolveMatrix kernelMatrix="1 1 1 1 1 1 1 1 1" bias="0.5"/>
</filter>
</defs>

Before

Width:  |  Height:  |  Size: 624 B

After

Width:  |  Height:  |  Size: 666 B

View File

@ -17,6 +17,6 @@
<rect width="100%" height="100%" fill="lime"/>
<g transform="translate(100,100)">
<circle cx="0" cy="0" r="60" fill="red" filter="url('#f1')"/>
<circle cx="0" cy="0" r="78" fill="lime"/>
<circle cx="0" cy="0" r="80" fill="lime"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 854 B

After

Width:  |  Height:  |  Size: 854 B

View File

@ -2,7 +2,7 @@
<filter id="f1" filterUnits="objectBoundingBox" primitiveUnits="objectBoundingBox"
x="0" y="0" width="1" height="1">
<feGaussianBlur x="10%" y="10%" width="80%" height="80%" in="SourceGraphic" stdDeviation="0.1"/>
<feGaussianBlur x="10%" y="10%" width="80%" height="80%" in="SourceGraphic" stdDeviation="0.04"/>
</filter>
<g filter="url(#f1)">
<rect x="0" y="0" width="100" height="100" fill="#00ff00"/>
@ -10,7 +10,7 @@
<filter id="f2" filterUnits="objectBoundingBox" primitiveUnits="objectBoundingBox"
x="0" y="0" width="1" height="1">
<feGaussianBlur x="10%" y="10%" width="80%" height="80%" in="SourceAlpha" stdDeviation="0.1"
<feGaussianBlur x="10%" y="10%" width="80%" height="80%" in="SourceAlpha" stdDeviation="0.04"
result="blur" style="color-interpolation-filters:sRGB"/>
<feFlood flood-color="#00ff00" result="flood"/>
<feComposite in="flood" operator="in" in2="blur"/>

Before

Width:  |  Height:  |  Size: 881 B

After

Width:  |  Height:  |  Size: 883 B

View File

@ -1,6 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg">
<rect x="10" y="10" width="80" height="80" fill="#00ff00"/>
<rect x="20" y="20" width="60" height="60" fill="#00ff00"/>
<rect x="135" y="45" width="30" height="10" fill="#00ff00"/>

Before

Width:  |  Height:  |  Size: 358 B

After

Width:  |  Height:  |  Size: 358 B

View File

@ -27,7 +27,7 @@ fuzzy-if(d2d,1,10000) == feComposite-2.svg feComposite-2-ref.svg
fuzzy-if(d2d,1,6400) == feFlood-1.svg feFlood-1-ref.svg
skip-if(d2d) == feFlood-2.svg feFlood-2-ref.svg
fuzzy-if(d2d,1,6400) == feGaussianBlur-1.svg feGaussianBlur-1-ref.svg
fuzzy(1,6400) == feGaussianBlur-1.svg feGaussianBlur-1-ref.svg
== feGaussianBlur-2.svg feGaussianBlur-2-ref.svg
# != feGaussianBlur-3.svg feGaussianBlur-3-ref.svg
== feGaussianBlur-4.svg feGaussianBlur-4-ref.svg
@ -75,15 +75,15 @@ fails == filter-marked-line-01.svg pass.svg # bug 477704
== feComponentTransfer-03.svg pass.svg
== feComponentTransfer-04.svg pass.svg
== feComposite-arguments-01.svg pass.svg
skip-if(B2G) == feComposite-paint-01.svg feComposite-paint-01-ref.svg
== feConvolveMatrix-bias-01.svg feConvolveMatrix-bias-01-ref.svg
skip-if(B2G) fuzzy(1,26732) == feComposite-paint-01.svg feComposite-paint-01-ref.svg
fuzzy(1,10000) == feConvolveMatrix-bias-01.svg feConvolveMatrix-bias-01-ref.svg
== feConvolveMatrix-order-01.svg feConvolveMatrix-order-01-ref.svg
== feDisplacementMap-alpha-01.svg pass.svg
== feDisplacementMap-colour-01.svg feDisplacementMap-colour-01-ref.svg
fuzzy(2,500) == feDisplacementMap-colour-01.svg feDisplacementMap-colour-01-ref.svg
skip-if(B2G) == feDisplacementMap-scale-01.svg pass.svg
skip-if(B2G) fuzzy-if(cocoaWidget&&layersGPUAccelerated,4,93) == feDistantLight-filterRes-01.svg feDistantLight-filterRes-01-ref.svg
skip-if(B2G) fuzzy-if(cocoaWidget,4,184) == feDistantLight-filterRes-01.svg feDistantLight-filterRes-01-ref.svg
== feMorphology-radius-negative-01.svg pass.svg
== feMorphology-radius-negative-02.svg pass.svg
@ -94,7 +94,7 @@ skip-if(B2G) fuzzy-if(cocoaWidget&&layersGPUAccelerated,4,93) == feDistantLight-
== feTile-large-02.svg feTile-large-02-ref.svg
== feTile-outside-01.svg feTile-outside-01-ref.svg
== feDiffuseLighting-1.svg feDiffuseLighting-1-ref.svg
fuzzy(1,119) == feDiffuseLighting-1.svg feDiffuseLighting-1-ref.svg
== feSpecularLighting-1.svg feSpecularLighting-1-ref.svg
skip-if(d2d) == feSpecularLighting-1.svg feSpecularLighting-1-ref.svg

View File

@ -15,8 +15,8 @@ fails == xbl-grad-ref--grad-in-resources-02.svg pass.svg
== xbl-grad-ref--grad-in-bound-04.svg pass.svg
# Tests for zooming with the full page zoom UI
skip-if(B2G) == feImage-zoom-01a.svg feImage-zoom-01-ref.svg # bug 773482
skip-if(B2G) == feImage-zoom-01b.svg feImage-zoom-01-ref.svg # bug 773482
skip-if(B2G) random-if(d2d) == feImage-zoom-01a.svg feImage-zoom-01-ref.svg # bug 773482
skip-if(B2G) random-if(d2d) == feImage-zoom-01b.svg feImage-zoom-01-ref.svg # bug 773482
skip-if(B2G) == foreignObject-zoom-01.svg pass.svg # bug 773482
skip-if(B2G) == zoom-invalidation-01.svg pass.svg # bug 773482
== zoomed-svg-with-viewBox-01.svg zoomed-svg-with-viewBox-01-ref.svg