Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
1 <!--
2 Any copyright is dedicated to the Public Domain.
3 http://creativecommons.org/publicdomain/zero/1.0/
4 -->
5 <svg xmlns="http://www.w3.org/2000/svg" onload="createFilter();">
7 <title>Testcase for filter result property</title>
9 <!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=935902 -->
11 <defs>
12 <filter id="f1">
13 <feGaussianBlur id="gb" in="SourceGraphic" stdDeviation="4"/>
14 <feColorMatrix values="1 0 0 0 0 0 0.333 0 0 0 0 0 1 0 0 0 0 0 1 0" in="blur"/>
15 </filter>
16 </defs>
17 <circle cx="100" cy="50" r="50" fill="yellow" filter="url('#f1')"/>
18 <script type="text/javascript">
19 function createFilter() {
20 document.getElementById('gb').result.baseVal = 'blur';
21 }
22 </script>
23 </svg>