W3C home > Mailing lists > Public > www-svg@w3.org > June 2017

Re: animateTransform has no default value for 'type'

From: Dr. Olaf Hoffmann <Dr.O.Hoffmann@gmx.de>
Date: Sun, 11 Jun 2017 10:41:26 +0200
To: www-svg@w3.org, johannes.schoenke@gmail.com
Message-ID: <1729394.anOATaXu7D@ap03>
Johannes Schoenke :


>By the way, I realized that there is at least a simple way to set attributes 
>globally by setting an attribute list in the DTD. The modified code example 
>would then look like this:
>  <!ATTLIST animateTransform
>  attributeName CDATA 'transform'
>  type CDATA 'translate'
>  dur CDATA '7s'
>  repeatCount CDATA 'indefinite'>


Did you check, in which viewers this works?
At least to define entities to reuse some code is the usual approach in SVG 
right from the beginning, there are even examples in the recommendations SVG 
1.0 and 1.1.

Note, that the CSS animation module is still no recommendation, it is in the 
best interpretation experimental, but because the most current working draft 
is from 2013, the idea is maybe already obsolete due to no progress in the 
recommendation process ;-)
We simply should forget about it, until there is some thought out 
And even then, CSS ist about styling and decoration, not relevant for content.
If you have animated content, in practice there is only the declarative way 
with SVG/SMIL animation (animateTransform ist SVG specific anyway).

For many works I simply use a script language PHP to generate SVG output due 
to similar problems, that there are no efficient ways to provide expressions to 
describe similar content fragments in an efficient way.
Suggestions and drafts from different people to avoid blowing up source code of 
SVG documents with redundant information were rejected early in the SVG 2.0 
process - and even most accepted ideas and requirements for SVG 2.0 were never 
realised or were removed again from the current draft.
Not much chance to get something new unfortunately, W3C is effectively in agony
and stagnation or even regression concerning the core formats for years now.

Received on Sunday, 11 June 2017 08:42:02 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:55:09 UTC