<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!--======================================================================-->
<!-- -->
<!-- animation-overall-BE-01.svg -->
<!-- renamed for 1.1 suite to animate-elem-23-t -->
<!-- -->
<!-- Test which verifies that the basic facilities of declarative -->
<!-- animation are working. -->
<!-- -->
<!-- Author : Jon Ferraiolo 03-Apr-2000 -->
<!-- -->
<!-- History: -->
<!-- 03-Apr-2000, JF: Serial#1 created. -->
<!-- 03-Aug-2000, LH=" update DOCTYPE for CR DTD, 20000802" ser# . -->
<!-- -->
<!--======================================================================-->
<!--======================================================================-->
<!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
<!--= log messages, and therefore is no longer in the preceding preamble.=-->
<!--======================================================================-->
<svg version="1.1" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<OperatorScript version="$Revision: 1.7 $" testname="animate-elem-23-t.svg">
<Paragraph>
Test which verifies that the basic facilities of declarative
animation are working.
</Paragraph>
<Paragraph>
This test uses the following elements : 'set',
and 'animateColor
</Paragraph>
<Paragraph>
The test is a nine second animation with no repeats. It shows a circle
changing color from 3s to 9s.
</Paragraph>
<Paragraph>
The file includes various guides that can be used to verify the
correctness of the animation.
Boxes on the left show the correct circle color values at times
3s, 6s and 9s.
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">animate-elem-23-t</title>
<desc id="test-desc">Test which verifies that the basic facilities of declarative animation are working.</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content">
<!-- Guide objects to show where the animation elements belong at which time -->
<g font-family="Verdana" font-size="12" >
<text x="15" y="55">Color at 3s</text>
<rect x="15" y="60" width="30" height="30" />
<circle cx="30" cy="75" r="10" fill="rgb(0,0,255)" />
<text x="15" y="145">Color at 6s</text>
<rect x="15" y="150" width="30" height="30" />
<circle cx="30" cy="165" r="10" fill="rgb(64,0,127)" />
<text x="15" y="235">Color at 9s</text>
<rect x="15" y="240" width="30" height="30" />
<circle cx="30" cy="255" r="10" fill="rgb(128,0,0)" />
</g>
<g >
<!-- The following illustrates the use of the 'set',
and 'animateColor' elements. The 'text' element
below starts off hidden (i.e., invisible). At 3 seconds, it:
* becomes visible
* changes color from blue to dark red
-->
<rect x="150" y="50" width="240" height="240" stroke="black" fill="black"/>
<circle cx="270" cy="170" r="110" visibility="hidden" ><set attributeName="visibility" attributeType="CSS" to="visible" begin="3s" dur="6s" fill="freeze"/>
<animate attributeName="fill" attributeType="CSS" from="rgb(0,0,255)" to="rgb(128,0,0)" begin="3s" dur="6s" fill="freeze"/>
</circle>
</g>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.7 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
<script>
// Pause the animation at t=0.
document.documentElement.pauseAnimations();
</script>
</svg>