blob: c7206c7ce5459c1d1ccabedf5f04e5dc15ef3ce5 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<svg width="800" height="600" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<defs>
<filter id="missing_href">
<feImage out="out1"/>
<feColorMatrix type="matrix" in="out1" values="1 0 0 0 0 0 -1 0 0 1 0 0 1 0 0 0 0 0 -1 1"/>
</filter>
<filter id="missing_image">
<feImage out="out1" xlink:href="missing.png"/>
<feColorMatrix type="matrix" in="out1" values="1 0 0 0 0 0 -1 0 0 1 0 0 1 0 0 0 0 0 -1 1"/>
</filter>
<filter id="broken_decode">
<feImage out="out1" xlink:href="data:image/gif;base64,FOO"/>
<feColorMatrix type="matrix" in="out1" values="1 0 0 0 0 0 -1 0 0 1 0 0 1 0 0 0 0 0 -1 1"/>
</filter>
<filter id="unsupported_format">
<feImage out="out1" xlink:href="data:image/foo;base64,"/>
<feColorMatrix type="matrix" in="out1" values="1 0 0 0 0 0 -1 0 0 1 0 0 1 0 0 0 0 0 -1 1"/>
</filter>
</defs>
<rect x="100" y="50" width="200" height="100" fill="red" filter="url(#missing_href)"/>
<rect x="100" y="200" width="200" height="100" fill="red" filter="url(#missing_image)"/>
<rect x="100" y="350" width="200" height="100" fill="red" filter="url(#broken_decode)"/>
<rect x="100" y="500" width="200" height="100" fill="red" filter="url(#unsupported_format)"/>
</svg>