animate-elem-211-t

raster image of animate-elem-211-t

Compare from-to, from-by and by animateMotion with values animateMotion.

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. The conversion is as follows:

(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. For animateMotion the '0' is no motion or is related to a translation given in coordinates: 0,0.)

The from-to, from-by and by are applied to animateMotion of different blue stroked paths and are compared with the related values animations including additive and cumulative hehaviour for underlying red paths. Additionally underlying dark red paths simulate the same behaviour using always the defaults additive replace and accumulate replace. The blue paths cover all red paths. Therefore if something red gets visible, an error is occured. Because fill is always not set and therefore remove, the final value is the value at 2s given with a simple values animateMotion, not very interesting for the test.