Specification link: 19.2 Animation elements

animate-elem-67-t ← index → animate-elem-69-t

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

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

## Operator Script

Run the test and observe it for at least six seconds. No interaction required.

## Pass Criteria

The test passes if for the first five seconds after the document loads, the red squares in each row are in the right column, and after the five seconds, they all move to the left column.

## Test Description

This tests performs basic tests on the repeatCount attribute.

Each row in the test shows different rectangles subject to <set> animations with different configurations with regards to the repeatCount attribute. For each row, the animation should be active during the first 5 seconds of the animations where the red rectangle should show in the right column. At five seconds into the animation, all the rectangles should move to their left position.

On the first row, the <set> animation has its dur attribute set to '5s' and its repeatCount unspecified. Consequently, its only interval is (0s <= t < 5s).

On the second row, the <set> animation has its dur attribute set to 1s and its repeatCount set to 5. Consequently, its only interval is (0s <= t < 5s (1s*5)).

On the third row, the <set> animation has its dur attribute set to 10s and its repeatCount set to 0.5. Consequently, its only interval is (0s <= t < 5s (10s*0.5))

On the fourth row, the <set> animation has its dur attribute set to 1s and its repeatCount set to indefinite. It also has an end attribute set to 5s. Consequently, the repeat duration is indefinite, but the active duration is limited by the end attribute and the active interval is (0s <= t < 5s).

animate-elem-67-t ← index → animate-elem-69-t