Full version, Basic version, Tiny version

Specification link: 19.2 Animation elements

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

# animate-elem-68-t
SVG Image | PNG Image
$RCSfile: animate-elem-68-t.svg,v $ $Revision: 1.7 $ repeatCount dur=5s repeatCount unspecified dur=1s repeatCount=5 dur=10s repeatCount=0.5 dur=1s repeatCount=indefinite end=5s > 5s 0s-5s |

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