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
$RCSfile: animate-elem-69-t.svg,v $ $Revision: 1.7 $ repeatDur dur=5s repeatDur unspecified dur=1s repeatDur=5s dur=0.5s repeatDur=5s dur=1s repeatDur=indefinite end=5s dur=0.7s repeatDur=5s > 5s 0s-5s |

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