Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

SVG Preview (Scaled)

Preview of https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/reftests/svg/filters/feTile-outside-01.svg
<!--
Any copyright is dedicated to the Public Domain.
-->
<title>Test case for feTile filter with x and y for feTile set to values outside the target area.</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="80%" height="80%" in="pair"/>
</filter>
<g filter="url(#f1)">
<rect width="100" height="100" fill="#00ff00"/>
</g>
</svg>