blob: 75aab7b667afbc5153f352f56411d9c86e0ba195 [file] [log] [blame]
<?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-add-BE-06.svg -->
<!-- renamed for 1.1 suite to animate-elem-11-t.svg -->
<!-- -->
<!-- Test possible values for 'calcMode' -->
<!-- -->
<!-- Author : Jon Ferraiolo 11-Aug-2000 -->
<!-- Revised for 1.1 : Mathias Larsson Carlander Feb/12/2002 -->
<!-- Revised for SVGT/B : Mathias Larsson Carlander Jul/1/2002 -->
<!-- -->
<!-- History: -->
<!-- 11-Aug-2000, JF: Serial#1 created. -->
<!-- -->
<!-- =====================================================================-->
<!--======================================================================-->
<!--= 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.9 $" testname="animate-elem-11-t.svg">
<Paragraph>
Test possible values for 'calcMode="paced"'
</Paragraph>
<Paragraph>
Two animations have been defined. For each animation, ruler lines and text are provided to help show what the correct behavior is.
The black text and ruler lines help show the sizes and movement of the rectangles over time.
</Paragraph>
<Paragraph>
The paced animations change constantly over the entire animation, regardless of the values at
particular keyframes.
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">animate-elem-11-t</title>
<desc id="test-desc">Test possible values for 'calcMode'</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content">
<g font-family="Arial" font-size="30" >
<g transform="translate(20,50)">
<text x="0" y="203">at 0 sec.</text>
<text x="0" y="136.33">at 3 sec. </text>
<text x="0" y="69.66">at 6 sec. </text>
<text x="3" y="3">9+ sec. </text>
<g stroke="#800" stroke-width="4">
<line x1="120" y1="200" x2="170" y2="200"/>
<line x1="120" y1="133.33" x2="170" y2="133.33"/>
<line x1="120" y1="66.66" x2="170" y2="66.66"/>
<line x1="120" y1="0" x2="170" y2="0"/>
</g>
<rect x="140" y="-10" width="60" height="210" fill="#FFAA44" stroke="#FF00FF" stroke-width="4">
<animate attributeName="height" calcMode="paced" values="210;177;121;10" begin="0s" dur="9s" fill="freeze"/>
</rect>
</g>
<g transform="translate(250,50)">
<text x="0" y="203">at 0 sec.</text>
<text x="0" y="136.33">at 3 sec. </text>
<text x="0" y="69.66">at 6 sec. </text>
<text x="3" y="3">9+ sec. </text>
<g stroke="#800" stroke-width="4">
<line x1="120" y1="200" x2="170" y2="200"/>
<line x1="120" y1="133.33" x2="170" y2="133.33"/>
<line x1="120" y1="66.66" x2="170" y2="66.66"/>
<line x1="120" y1="0" x2="170" y2="0"/>
</g>
<rect x="140" y="-10" width="60" height="10" fill="#FFAA44" stroke="#FF00FF" stroke-width="4">
<animateMotion calcMode="paced" values="0,200; 0,167; 0,111; 0,0" begin="0s" dur="9s" fill="freeze"/>
</rect>
</g>
</g>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.9 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>