<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100%" height="100%"> | |
<defs> | |
<filter filterUnits="userSpaceOnUse" primitiveUnits="userSpaceOnUse" id="flt" x="0" y="0" width="50" height="100"> | |
<feImage xlink:href="#img" /> | |
</filter> | |
</defs> | |
<rect filter="url(#flt)" width="50" height="100"/> | |
<g transform="translate(50 0)"> | |
<g id="img"> | |
<rect width="50" height="100" fill="green"/> | |
</g> | |
</g> | |
</svg> |