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


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

Operator Script

Run the test. No interaction required.

Pass Criteria

The first subtest is passed if all four rectangles at the top smoothly animate from black to green over 5 seconds. During this time the bottom two rectangles must be blue.

The second subtest, which starts after the first one completes, is passed if the bottom two rectangles smoothly animate from green (at five seconds), through dark cyan (at 7.5 seconds), to cyan (at 10 seconds and above). Colored circles indicate the appropriate colors at these times.

Test Description

The first subtest tests animateColor with 'to' and 'from' values including currentColor. The second subtest checks that the value of currentColor is the current animated value of the color property, by animating the color property at the same time as animating fill with a 'from' or 'to' value of currentColor.