Specification link: 19.2 Animation elements

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

Tests that contain the draft-watermark are under development and may be incorrectly testing a feature.

# animate-elem-64-t.svg
SVG Image | PNG Image

## Operator Script

Run the test. No interaction required.

## Pass Criteria

The test passes if after three seconds, in each of the three rows, the red rectangle is in the column at the times indicated. Thus, from the document load until 2s afterwards, the red square in the first row must be in the right column, and after the 2s it must be in the left column. In the other two rows, the red square must remain in the right column.

## Test Description

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