Re: Duration of an SVG file

Hello,

my interpretation of this issue:

For 
<animation dur="10s" ... />
the duration of the animation element (and the active duration of the
referenced SVG) is simply 10s.
The SVG file itself has no well defined simple media duration in the
sense, SMIL defines this for simple continuous media, therefore 
in SMIL the dur value 'media' is not applicable and no one
has to compute the duration of an SVG file.


SVG tiny 1.2 notes about the dur attribute:
http://www.w3.org/TR/SVGMobile12/animate.html#TimingAttributes

'For SVG's animation elements, if media is specified, the attribute will be 
ignored.'

And: 
'If the animation does not have a 'dur' attribute, the simple duration is 
indefinite.'

Therefore if the author does not provide a dur attribute or sets it
to media, this is resolved to 'indefinite'.

Repetitions cannot have a visbile effect for an object with indefinite
duration, but for dur="10s" it can. 
This is the same for the animation elements as for other elements
too, no matter what the referenced content of the animation element
is.


Olaf

Received on Thursday, 3 July 2008 18:17:58 UTC