blob: 60b2d8010f14d363443ea800957ab18c9d1a9162 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<rect id="target1" width="150" height="100" fill="green"/>
<rect id="target2" y="150" width="150" height="100" fill="green"/>
<!-- an1: Change width by -100 in 4s on target1. The embedder script will change the target to 'target2' at 2s. -->
<!-- target1 should be 100px at 2s and remain this way. target2 should be 50px and remain this way. -->
<animate id="an1" xlink:href="#target1" attributeType="XML" attributeName="width" fill="freeze" by="-100" begin="0s" dur="4s"/>
</svg>