W3C home > Mailing lists > Public > www-svg@w3.org > May 2012

Re: About "d" attribute

From: Dr. Olaf Hoffmann <Dr.O.Hoffmann@gmx.de>
Date: Fri, 11 May 2012 17:50:12 +0200
To: www-svg@w3.org, fyaoxy@gmail.com
Message-Id: <201205111750.12459.Dr.O.Hoffmann@gmx.de>
With declarative animation one can have a values list in 
SVG tiny 1.2 and 1.1.2 for the d attribute with different 
numbers of path segments to get a discrete animation.
If an author sometimes needs no path as one value -
why not? If this results in no display, there is no need 
for an additional synchonised animation of another
property or attribute to get the intended effect.

Obviously one can use the use element with
a declarative animation of the reference to different
(path) elements - there is often more than one way
to get the intended effect - this is no reason to panic,
just an indication for many options to get similar effects 
in an advanced language.
If you don't need empty d elements, simply do not
use them ;o)

In SVG 1.1.2 and SVG tiny 1.2 there can be seen
several efforts to avoid error messages, replacing them sometimes
with 'disables rendering', sometimes with other meaningful
behaviour, representing effectively a new feature - do you think, 
it is more useful to have an error message for such obvious 
things instead of the a display of the document? 
Of course, for some errors a message is more useful,
but if the defined behaviour just describes, what one can
expect, as here to render nothing, if d is empty, why not?
Indeed there are already a few cases, where 
superfluous 'disables rendering' definitions prevent 
meaninful use cases, but here I cannot see an advantage 
in an error message or a more useful behaviour in case
of an empty d.

Olaf 
Received on Friday, 11 May 2012 15:50:42 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:51 GMT