W3C home > Mailing lists > Public > www-svg@w3.org > July 2008

Re: Duration of an SVG file

From: Dr. Olaf Hoffmann <Dr.O.Hoffmann@gmx.de>
Date: Thu, 3 Jul 2008 20:11:51 +0200
To: www-svg@w3.org, Julien.Reichel@spinetix.com
Message-Id: <200807032011.51670.Dr.O.Hoffmann@gmx.de>

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 GMT

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