summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/linked-filter-01.svg
blob: 226e792ef93f5f664483a271a018f4a440a7c5cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!--
     Any copyright is dedicated to the Public Domain.
     http://creativecommons.org/publicdomain/zero/1.0/
-->
<svg xmlns="http://www.w3.org/2000/svg" 
     xmlns:xlink="http://www.w3.org/1999/xlink">
  <title>Test for linked filter</title>
  <defs>
    <filter id="filter01" filterUnits="objectBoundingBox" x="0" y="0" width="1" height="1">
      <feFlood flood-color="lime" />
    </filter>
    <filter id="filter02" xlink:href="#filter01"/>
  </defs>

  <rect width="100%" height="100%" fill="red"/>
  <rect width="100%" height="100%" filter="url(#filter02)"/>
</svg>