blob: 0bc35ce4d452f11de5d9b286834297f01cbfb0cf [file] [log] [blame]
<svg xmlns="http://www.w3.org/2000/svg">
<path id="path" d="M10,0 L200,0" fill="none"/>
<rect id="animateMotionRect" x="10" y="10" width="100" height="100" fill="green">
<animateMotion begin="0.5s" dur="2s" fill="remove">
<mpath href="#path"/>
</animateMotion>
</rect>
<rect id="animateRect" x="10" y="120" width="100" height="100" fill="green">
<animate id="animate" attributeType="XML" attributeName="x" from="20" to="210" begin="0.5s" dur="2s" fill="remove" />
</rect>
</svg>