summaryrefslogtreecommitdiff
path: root/tests/fixtures/reftests/svg2-reftests/913-gaussian-blur-nonpositive.svg
blob: e1a276e3630f4d5c9c4246c1af43a83b717b52d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
     width="400" height="400">
  <filter id="filter" filterUnits="objectBoundingBox" x="-10%" y="-10%" width="120%" height="120%">
    <!-- First, swap the red and green channels (turn the red rectangle into green) -->
    <feColorMatrix type="matrix"
                   values="0 1 0 0 0
                           1 0 0 0 0
                           0 0 1 0 0
                           0 0 0 1 0"/>

    <!-- Second, no-op blur because stdDeviation is negative-->
    <feGaussianBlur stdDeviation="-1 -1"/>
  </filter>

  <g filter="url(#filter)">
    <rect x="100" y="100" width="50" height="50" fill="red"/>
    <rect x="200" y="100" width="50" height="50" fill="red"/>
  </g>
</svg>