1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <!DOCTYPE svg PUBLIC
"-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
3 <!--======================================================================-->
4 <!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
5 <!--= Institute of Technology, Institut National de Recherche en =-->
6 <!--= Informatique et en Automatique, Keio University). All Rights =-->
7 <!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
8 <!--======================================================================-->
9 <!--======================================================================-->
10 <!-- animation-targAtt-BE-04.svg -->
11 <!-- renamed for 1.1 suite to animate-elem-26-t -->
12 <!-- Author : Jon Ferraiolo 10-Aug-2000 -->
13 <!--======================================================================-->
14 <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">
15 <SVGTestCase xmlns=
"http://www.w3.org/2000/02/svg/testsuite/description/">
16 <OperatorScript version=
"$Revision: 1.7 $" testname=
"animate-elem-26-t.svg">
18 Test animation options for specifying the target attribute/property.
21 On the left, a circle animates the stroke-width property without
22 specifying a value for 'attributeType'. On the right,
23 a circle animates the stroke-width property and does set 'attributeType' to 'CSS'.
26 For each circle, guides shows what
27 the stroke-width looks like initially and
28 what it looks like at the end of the animation.
32 <title id=
"test-title">animate-elem-
26-t
</title>
33 <desc id=
"test-desc">Test animation options for specifying the target attribute/property.
</desc>
34 <!--======================================================================-->
35 <!--Content of Test Case follows... =====================-->
36 <!--======================================================================-->
37 <g id=
"test-body-content" font-family=
"Arial" font-size=
"30">
39 <circle cx=
"120" cy=
"140" r=
"70" fill=
"none" stroke=
"#36e" stroke-width=
"1">
40 <animate attributeName=
"stroke-width" from=
"1" to=
"60" begin=
"1s" dur=
"4s" fill=
"freeze"/>
42 <circle cx=
"120" cy=
"140" r=
"40" fill=
"none" stroke=
"black" stroke-width=
"1"/>
43 <circle cx=
"120" cy=
"140" r=
"70" fill=
"none" stroke=
"black" stroke-width=
"1"/>
44 <circle cx=
"120" cy=
"140" r=
"100" fill=
"none" stroke=
"black" stroke-width=
"1"/>
45 <text x=
"70" y=
"280">anim.
1</text>
48 <circle cx=
"360" cy=
"140" r=
"70" fill=
"none" stroke=
"#e3a" stroke-width=
"1">
49 <animate attributeName=
"stroke-width" attributeType=
"CSS" from=
"1" to=
"60" begin=
"4s" dur=
"3s" fill=
"freeze"/>
51 <circle cx=
"360" cy=
"140" r=
"40" fill=
"none" stroke=
"black" stroke-width=
"1"/>
52 <circle cx=
"360" cy=
"140" r=
"70" fill=
"none" stroke=
"black" stroke-width=
"1"/>
53 <circle cx=
"360" cy=
"140" r=
"100" fill=
"none" stroke=
"black" stroke-width=
"1"/>
54 <text x=
"310" y=
"280">anim.
2</text>
57 <text id=
"revision" x=
"10" y=
"340" font-size=
"40" stroke=
"none" fill=
"black">$Revision:
1.7 $
</text>
58 <rect id=
"test-frame" x=
"1" y=
"1" width=
"478" height=
"358" fill=
"none" stroke=
"#000000"/>