Full version, Basic version, Tiny version

Specification link: 19.2 Animation elements

animate-elem-68-t ← index → animate-elem-70-t

# animate-elem-69-t
SVG Image | PNG Image

This tests performs basic tests on the repeatDur attribute

Each row in the test shows different rectangles subject to <set> animations with different configurations with regards to the repeatDur 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 repeatDur 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 repeatDur set to 5s. Consequently, its only interval is (0s <= t < 5s).

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

On the fourth row, the <set> animation has its dur attribute set to 1s and its repeatDur 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).

On the fifth row, the <set> animation has its dur attribute set to 0.7s and its repeatDur set to 5s. Consequently, its only interval is (0s <= t < 5s). The difference with the 3rd row is that there is a fractional number of simple durations in the active duration (7.1428) where there is a whole number of simple durations in the third row (10).

animate-elem-68-t ← index → animate-elem-70-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.