animateMotion' example: tiny suggestion

Hi

just a tiny suggestion:

In the example in
   http://www.w3.org/TR/SVG/animate.html#AnimateMotionElement
   http://www.w3.org/TR/SVG11/animate.html#AnimateMotionElement
the path is defined redundantly:

######################################################################
<path d="M100,250 C 100,50 400,50 400,250"

<!-- Define the motion path animation -->
<animateMotion [...]
   path="M100,250 C 100,50 400,50 400,250" />
######################################################################

I'm sure you're aware of that. But perhaps it would make sense to do

######################################################################
<path id="path" d="M100,250 C 100,50 400,50 400,250" [...]

<!-- Define the motion path animation -->
<animateMotion [...]>
   <mpath xlink:href="#path"/>
</animateMotion>
######################################################################

Tobi

-- 
http://www.pinkjuice.com/

Received on Thursday, 14 November 2002 03:12:22 UTC