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

animate-elem-34-t.svg

raster image of animate-elem-34-t.svg

Operator Script

Run the test. No interaction required.

Pass Criteria

The test is passed if all of the following conditions are met:

Test Description

The purpose of this test is to test animation of attributes points and fill-rule.

The test consists of 2 sub-tests. The first test is a polygon shaped as a digit. The polygon has an animation on its vertex points which morphs the polygon between the numbers 1, 2, 3 and 4. The gray outlines indicates the expected position of the polygon at 1, 2, 3 and 4s. The second test is 4 paths in a u-shape. They have animated fill-rules. Their initial fill-rules are, from left to right, nonzero, evenodd, nonzero (by default value, no fill-rule attribute set) and nonzero (by default value, no fill-rule attribute set). This means, that the second path is initially u-shaped, and all other paths are initially rect-shaped. All four animations are set to evenodd as a last stage. The further expected result is that one path at a time is filled. The other three paths are not filled but have the u-shape. The fourth animation from evenodd to nonzero happens by going back to the initial state, because the fill attribute is not set to freeze. Which path that should be filled at which time is indicated by the number above it (indicating time in seconds). To enhance the difference between the filled path and the rest, the filled path should always have the same color as the morphing polygon. This is achieved by a discrete color animation.