gecko/layout/reftests/svg/smil/motion/animateMotion-mpath-target-transform-1.svg
Jonathan Watt 42fd83c9cd Bug 602207 - <animateMotion><mpath> uses path's "transform" attribute on <path> elements, which it shouldn't
--HG--
extra : rebase_source : 9c8d0cb8d4c349cacf4b6c1f0db2b74695e74ff0
2010-12-09 16:42:59 +00:00

15 lines
536 B
XML

<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Test that 'transform' on the &lt;mpath&gt; target has no affect</title>
<defs>
<path id="path" d="M0,0 L100,100" transform="translate(100,0)"/>
</defs>
<rect width="100%" height="100%" fill="lime"/>
<rect x="10" y="10" width="100" height="100" fill="red"/>
<rect x="10" y="10" width="100" height="100" fill="lime">
<animateMotion dur="indefinite">
<mpath xlink:href="#path"/>
</animateMotion>
</rect>
</svg>