Full version, Basic version, Tiny version

Specification link: 19.2 Animation elements

animate-elem-63-t ← index → animate-elem-65-t

# animate-elem-64-t
SVG Image | PNG Image
$RCSfile: animate-elem-64-t.svg,v $ $Revision: 1.5 $ dur clock value indefinite media > 2s 0s-2s never > 0s never > 0s |

This tests performs basic tests on the dur attribute.

The first row shows a red rectangle subject to a <set> animation with no begin attribute, no end attribute and a dur attribute set to '2s'. Therefore, the animation should be active from 0 to 2 seconds and then terminate. Consequently, the rectangle should show on the right for the first two seconds, and then move to the left position.

The second row shows a red rectangle subject to a <set> animation with no begin attribute, no end attribute and a dur attribute set to 'indefinite'. Therefore, the animation should stay active indefinitely and the rectangle should always be on the right position, never on the left position.

Finally, the third row shows red rectangle subject to a <set> animation with no begin attribute, no end attribute and a dur attribute set to 'media'. In the context of SVG 1.1, this is equivalent to an 'indefinite' value. Therefore, the animation should stay active indefinitely and the rectangle should always be on the right position, never on the left position.

animate-elem-63-t ← index → animate-elem-65-t