summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/filter-use-element-01.svg
blob: 48ff4f915e4d7e03434aab9ab5cbe7bc9b275bd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
<svg xmlns="http://www.w3.org/2000/svg"
     xmlns:xlink="http://www.w3.org/1999/xlink">
  <defs>
    <filter id="myFilter" filterUnits="userSpaceOnUse" x="100" y="100" width="100" height="100">
      <feGaussianBlur stdDeviation="20 10"/>
    </filter>
    <rect x="0" y="0" width="100" height="100" fill="red" id="abc"/>
  </defs>
  <rect x="0" y="0" width="100%" height="100%" fill="lime"/>
  <use  xlink:href="#abc" x="100" y="100" filter="url(#myFilter)"/>
</svg>