blob: 02f011612bdcb8f9e92523ca2759b09941ed1374 [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-targAtt-BE-04.svg -->
<!-- renamed for 1.1 suite to animate-elem-26-t -->
<!-- Author : Jon Ferraiolo 10-Aug-2000 -->
<!--======================================================================-->
<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-26-t.svg">
<Paragraph>
Test animation options for specifying the target attribute/property.
</Paragraph>
<Paragraph>
On the left, a circle animates the stroke-width property without
specifying a value for 'attributeType'. On the right,
a circle animates the stroke-width property and does set 'attributeType' to 'CSS'.
</Paragraph>
<Paragraph>
For each circle, guides shows what
the stroke-width looks like initially and
what it looks like at the end of the animation.
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">animate-elem-26-t</title>
<desc id="test-desc">Test animation options for specifying the target attribute/property.</desc>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content" font-family="Arial" font-size="30">
<g>
<circle cx="120" cy="140" r="70" fill="none" stroke="#36e" stroke-width="1">
<animate attributeName="stroke-width" from="1" to="60" begin="1s" dur="4s" fill="freeze"/>
</circle>
<circle cx="120" cy="140" r="40" fill="none" stroke="black" stroke-width="1"/>
<circle cx="120" cy="140" r="70" fill="none" stroke="black" stroke-width="1"/>
<circle cx="120" cy="140" r="100" fill="none" stroke="black" stroke-width="1"/>
<text x="70" y="280">anim. 1</text>
</g>
<g>
<circle cx="360" cy="140" r="70" fill="none" stroke="#e3a" stroke-width="1">
<animate attributeName="stroke-width" attributeType="CSS" from="1" to="60" begin="4s" dur="3s" fill="freeze"/>
</circle>
<circle cx="360" cy="140" r="40" fill="none" stroke="black" stroke-width="1"/>
<circle cx="360" cy="140" r="70" fill="none" stroke="black" stroke-width="1"/>
<circle cx="360" cy="140" r="100" fill="none" stroke="black" stroke-width="1"/>
<text x="310" y="280">anim. 2</text>
</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"/>
</svg>