W3C home > Mailing lists > Public > www-svg@w3.org > January 2007

SVG1.1 TestSuite 2006-12-13 animate-elem-65 min

From: Dr. Olaf Hoffmann <Dr.O.Hoffmann@gmx.de>
Date: Fri, 19 Jan 2007 11:23:38 +0100
To: www-svg@w3.org
Message-Id: <200701191123.38768.Dr.O.Hoffmann@gmx.de>

Hello,

I'd like to report two minor problems in the descriptions of a subtests 
in animate-elem-65. 




fourth example, wrong value for the min attribute in the description:

wrong:
"On the fourth row, the <set> animation has a (0s <= t < 2s) initial active 
duration, an indefinite simple duration (dur is set to indefinite) and a min 
attribute set to '3s'. Because the initial active duration is less than the 
min attribute and because the simple duration is greater than the min value, 
the animation is active for the (min constrained) active duration, i.e., (0s 
<= t < 5s)."

correct:
"On the fourth row, the <set> animation has a (0s <= t < 2s) initial active 
duration, an indefinite simple duration (dur is set to indefinite) and a min 
attribute set to '5s'. Because the initial active duration is less than the 
min attribute and because the simple duration is greater than the min value, 
the animation is active for the (min constrained) active duration, i.e., (0s 
<= t < 5s)."



sixth and seventh example, the descriptions may mislead some authors or 
developers:

The active duration is not (0s <= t < 5s). Active duration has a well defined 
meaning in SMIL and the descriptions do not fit to this meaning in this 
special case.
In SMIL it is noted:
"
if the first computed duration is less than the min value, the active duration 
of the element becomes equal to the min value and the behavior of the element 
is as follows :

if the repeating duration (or the simple duration if the element doesn't 
repeat) of the element is greater than min then the element is played 
normally for the (min constrained) active duration. (see the second and third 
examples below). 

otherwise the element is played normally for its repeating duration (or simple 
duration if the element does not repeat) and then is frozen or not shown 
depending on the value of the fill attribute (see the fourth and fifth 
examples below).
"

In the example the last case has to be applied. This means for this test, the 
visible part (the 'behaviour') is within (0s <= t < 5s), but anyway the 
active duration is 8s, not important for the visible effect in this example, 
but for example if this animation is used as a syncbase-value for another 
animation. The active duration has to be corrected to 8s without any 
influence on the animated attribute itself. If another animation is started 
or stopped with the end of this active duration at 8s and not 5s as a 
syncbase-value, the effect will become visible.


Happy testing...
Received on Friday, 19 January 2007 10:39:40 GMT

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