W3C home > Mailing lists > Public > www-svg@w3.org > September 2011

using mpath to refer to a <use>

From: David Dailey <ddailey@zoominternet.net>
Date: Thu, 8 Sep 2011 13:44:48 -0400
To: "'www-svg'" <www-svg@w3.org>
Message-ID: <000c01cc6e4f$00e71e00$02b55a00$@net>
The SVG 1.1 spec seems to allow <mpath> to refer only to a <path>.  Why not
allow it (in say SVG2) to refer to a <use> which in turn references a
<path>? Then one could benefit from a transform applied to the path as the
inspiration for animation.


The example at 

http://granite.sru.edu/~ddailey/svg/animstart0c.svg shows what I'm trying to


In most browsers, nothing happens, but Opera 11.51 apparently thinks it is
worth trying to follow the evil plan, since it crashes after the animation
is started.


Note: at least for this example I can work around it by simply translating
the ellipse downward as in

http://granite.sru.edu/~ddailey/svg/animoval9.svg  (see caveats [1]).


But I rather doubt this chicanery will be successful if I wished to rotate
or shrink a path, and then to merely do the same to the ellipse.





[1] This works the way I would expect in Opera, IE/ASV,  Chrome and Safari,
but FF seems to send the ellipses on rather strange paths. FF also seems to
disagree with me concerning
http://granite.sru.edu/~ddailey/svg/animoval8b.svg in which an ellipse is
asked to traverse a path which is, in fact, itself animated.)
Received on Thursday, 8 September 2011 17:45:42 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:26 UTC