animateTransform has no default value for 'type'

I could not find anything about this in the mailing list, so I thought a share.

In the SVG 1.1 standard section 19.2.16, right at the beginning of ‘Attribute definitions’ it says about the ‘type’ attribute:

‘… . If the attribute [type] is not specified, then the effect is as if a value of 'translate' were specified.’

This is not true.
If ‘type’ is not specified, nothing gets animated.
So it seems like ‘type’ has no default value.

Hope this helps.

Best wishes,
Hannes


P.S.: Suggestion for the next standard:
For ‘animateTransform’ and all related animation tags attributes like for example

attributeName='transform' type='translate' fill='freeze' dur=‘4s’ …

Should be definable for a group of different objects/animations. At the moment one has to write them for every single animation tag. Many animated SVG files would probably be half the size with this feature!

 <https://www.w3.org/TR/SVG/Overview.html>

Received on Tuesday, 30 May 2017 09:15:14 UTC