Bug 951268 - Test. a=lsblakk
authorRobert Longson <longsonr@gmail.com>
Fri, 17 Jan 2014 11:06:13 +0100
changeset 176065 e43c3901f47b28ea40b033d89863c0cefff5aa3c
parent 176064 5f0f3a72f66b6af6a09c74f9591ffb1d9f136fa1
child 176066 ac77f02b3dbe8c97efc3a8d70184f99887027317
push id445
push userffxbld
push dateMon, 10 Mar 2014 22:05:19 +0000
treeherdermozilla-release@dc38b741b04e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslsblakk
bugs951268
milestone28.0a2
Bug 951268 - Test. a=lsblakk
layout/reftests/svg/filters/feGaussianBlur-alpha-01-ref.svg
layout/reftests/svg/filters/feGaussianBlur-alpha-01.svg
layout/reftests/svg/filters/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/svg/filters/feGaussianBlur-alpha-01-ref.svg
@@ -0,0 +1,20 @@
+<!--
+     Any copyright is dedicated to the Public Domain.
+     http://creativecommons.org/publicdomain/zero/1.0/
+-->
+<svg xmlns="http://www.w3.org/2000/svg">
+
+  <title>SourceAlpha pseudo input reference</title>
+
+  <defs>
+    <filter id="blur">
+      <feGaussianBlur in="SourceGraphic" stdDeviation="2"/>
+    </filter>
+  </defs>
+
+  <g fill-opacity="0.6" stroke="black" fill="black" stroke-width="3" filter="url(#blur)">
+    <circle cx="98" cy="85" r="25"/>
+    <circle cx="80" cy="110" r="25"/>
+    <circle cx="116" cy="110" r="25"/>
+  </g>
+</svg>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/svg/filters/feGaussianBlur-alpha-01.svg
@@ -0,0 +1,20 @@
+<!--
+     Any copyright is dedicated to the Public Domain.
+     http://creativecommons.org/publicdomain/zero/1.0/
+-->
+<svg xmlns="http://www.w3.org/2000/svg">
+
+  <title>SourceAlpha pseudo input test</title>
+
+  <defs>
+    <filter id="alphaBlur">
+      <feGaussianBlur in="SourceAlpha" stdDeviation="2"/>
+    </filter>
+  </defs>
+
+  <g fill-opacity="0.6" stroke="black" stroke-width="3" filter="url(#alphaBlur)">
+    <circle cx="98" cy="85" r="25" fill="red"/>
+    <circle cx="80" cy="110" r="25" fill="blue"/>
+    <circle cx="116" cy="110" r="25" fill="green"/>
+  </g>
+</svg>
--- a/layout/reftests/svg/filters/reftest.list
+++ b/layout/reftests/svg/filters/reftest.list
@@ -79,16 +79,17 @@ skip-if(B2G) fuzzy(1,26732) == feComposi
 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
 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,4,184) == feDistantLight-filterRes-01.svg feDistantLight-filterRes-01-ref.svg
+== feGaussianBlur-alpha-01.svg feGaussianBlur-alpha-01-ref.svg
 
 == feMorphology-radius-negative-01.svg pass.svg
 == feMorphology-radius-negative-02.svg pass.svg
 == feMorphology-radius-zero-01.svg pass.svg
 == feMorphology-radius-zero-02.svg pass.svg
 
 == feTile-large-01.svg pass.svg
 == feTile-large-02.svg feTile-large-02-ref.svg