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>


my interpretation of this issue:

<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:

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

'If the animation does not have a 'dur' attribute, the simple duration is 

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

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

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:14 UTC