raster image of animate-elem-210-t

Compare from-to, from-by and by animateColor with values animateColor and animate.

The main indication for a failed test is the appearance of red.

SMIL 2 specifies, how from-to, from-by and by animations have to be converted into values animations. Therefore they have to be the same as the related values animation. Additionally set animations can be replaced by values animations too. The conversion is as follows:

used converted
from="a" to="b" values="a;b"
from="a" by="b" values="a;a+b"
by="a" values="0;a" additive="sum"
set to="a" values="a" additive="replace" accumulate="none"

(by and from-by animations have only a meaning, if values can be added somehow. '0' is used as a general symbol for the neutral element of addition for the related attribute, this means 0 + a = a + 0 = a. And '0' is not equal to the symbol '1' as the basic unit of the related attribute, '0' is a predecessor of '1' in the related attribute space. In the color space 0 is represented by black, #000, #000000, rgb(0,0,0) etc. Addition is performed for each of the three components of the color vector separately.)

The from-to, from-by and by animations applied to fill properties of circles are compared with the related values animations including additive and cumulative hehaviour for the stroke of the same circles. Additionally underlying filled larger circles simulate the same behaviour using always the defaults additive replace and accumulate replace. The fill of the background circle and stroke and fill of the smaller test circle centered in it are always exactly the same. Therefore if rings in each centered circle system with different color get visible, an error is occured. But each separated circle system representing one of 12 subtests can have another color. Because the fill attribute for animation is always not set and therefore remove, the final value is only that of the set animation, not very interesting for the test.