summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/filters/feTile-large-02.svg
blob: aa41cf34f5611775f9c8fc3440e0a190d31afcac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!--
     Any copyright is dedicated to the Public Domain.
     http://creativecommons.org/publicdomain/zero/1.0/
-->
<svg xmlns="http://www.w3.org/2000/svg">
<title>Test case for feTile filter with tile exceeding the bounds of the target area on all sides</title>

<filter id="f1" filterUnits="objectBoundingBox" primitiveUnits="objectBoundingBox" 
         x="0" y="0" width="1" height="1">
  <feFlood flood-color="#00ff00" x="0%" y="0%" width="20%" height="20%" result="flood1"/>
  <feFlood flood-color="#0000ff" x="20%" y="20%" width="20%" height="20%" result="flood2"/>
  <feComposite in="flood1" in2="flood2" x="0%" y="0%" width="40%" height="40%" result="pair"/>
  <feTile x="-10%" y="-10%" width="120%" height="120%" in="pair"/>
</filter>
<g filter="url(#f1)">
  <rect width="100" height="100" fill="#00ff00"/>
</g>

</svg>