animateColor and animate, detect calcMode discrete automatically
The fill property of two circles is animated with a begin at 2s and a
repeated duration of 14s with the values:
blue;#80f;blue;currentColor;url(#rG1) red;none;blue.
currentColor is defined by color, animated within 11.1s with the
values #80f; #00f; #0f8; #08f;#0ff;#80f.
#rG1 is a radial gradient.
If something red gets visible, color is not animated or the gradient is not supported.
Because it is not possible to interpolate between
a color value and none or a color and a gradient, the animation has to be detected
as discrete automatically.
The animate and animateColor are compared with the same animation of stroke using
explictly calcMode discrete. It indicates an error, if there is a difference.
The SVG 1.1 specification is ambiguous, whether animateColor is only applicable
for <color> or for <paint> to as indicated in the table of animatable
attributes compared with the animateColor section. However, the animateColor
section does not exclude this explicitly.