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

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

Distributed under both the W3C Test Suite License and the W3C 3-clause BSD License.
To contribute to a W3C Test Suite, see the policies and contribution forms.