Full version, Basic version, Tiny version

Specification link: 19.2 Animation elements

animate-elem-46-t ← index → animate-elem-60-t

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

The purpose of this test is to test eventbase targets.

The test consists of 4 rectangles named A, B, C, D. The D rectangle contains three animations changing the color of the animation target. Each animation applies to one of the other rectangles by using xlink:href. Clicking on rect A should change it's color immediately, clicking B changes its color after 2 seconds, clicking C changes its color after 4 seconds and clicking D shows no visible change (although D contains the animations the event target for each animation is the referenced rectangle, this rectangle is also the animation target.)

The following sections in the SMIL Animation spec (http://www.w3.org/TR/smil-animation/) are relevant as confirmation of this test: The SMIL spec(3.6.7 subsection "Event Values") states that "If the Eventbase-element term is missing, the event-base element is defined to be the target element of the animation" The SMIL spec (3.1 subsection "The target element") says that the animation target may be defined explicitly thru the targetElement IDREF or href URI. So in this test, the animation target is defined through xlink:href and the event base per definition is then also this referenced element.

animate-elem-46-t ← index → animate-elem-60-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.