raster image of animate-elem-209-t

Compare from-to, from-by and by animate with values 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 animation. 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.)

The from-to, from-by and by animations applied to the attributes x, y, width, height of blue rectangles are compared with the related values animations including additive and cumulative hehaviour for underlying red rectangles. Additionally underlying dark red rectangles simulate the same behaviour using always the defaults additive replace and accumulate replace. The blue rectangles cover all red rectangles. Therefore if something red gets visible, an error is occured. Because fill is always not set and therefore remove, the final value is only that of the set animation, not very interesting for the test.