1 <?xml version=
"1.0" encoding=
"iso-8859-1"?>
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 <!-- ===================================================================== -->
11 <!-- animation-elem-28-t.svg -->
13 <!-- Test inheritance of animated properties. -->
15 <!-- Author : Benoit Bezaire 7-Oct-2002 -->
18 <!-- 7-Oct-2002, BB: Serial#1 created. -->
20 <!-- ===================================================================== -->
21 <!--======================================================================-->
22 <!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
23 <!--= log messages, and therefore is no longer in the preceding preamble.=-->
24 <!--======================================================================-->
25 <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">
26 <SVGTestCase xmlns=
"http://www.w3.org/2000/02/svg/testsuite/description/">
27 <OperatorScript version=
"$Revision: 1.6 $" testname=
"animate-elem-28-t.svg">
29 Test inheritance of animated properties.
32 A yellow happy face should be displayed. The stroke for the smile and yellow circle are both animated, the stroke goes from
"#F1E900" to
"#FF0000".
36 <title id=
"test-title">animate-elem-
28-t
</title>
37 <desc id=
"test-desc">Test inheritance of animated properties.
</desc>
38 <!--======================================================================-->
39 <!--Content of Test Case follows... =====================-->
40 <!--======================================================================-->
41 <g id=
"HappyFace" stroke=
"#F1E900" fill=
"#F1E900" stroke-width=
"5">
42 <circle cx=
"240" cy=
"180" r=
"150" />
43 <!--circle cx="240" cy="180" r="150" stroke-opacity=".5"/-->
44 <g id=
"eyes" stroke=
"#000077">
45 <path d=
"M260 131c0,-15 12,-28 28,-28 15,0 27,13 27,28 0,15 -12,28 -27,28 -16,0 -28,-13 -28,-28z"/>
46 <path d=
"M165 131c0,-15 12,-28 28,-28 15,0 27,13 27,28 0,15 -12,28 -27,28 -16,0 -28,-13 -28,-28z"/>
48 <path d=
"M151 227c46,52 138,52 184,0"/>
49 <animate attributeName=
"stroke" attributeType=
"CSS" begin=
"0s" dur=
"4s" fill=
"freeze" from=
"#F1E900" to=
"#FF0000"/>
50 <text id=
"revision" x=
"10" y=
"340" font-size=
"40" stroke=
"none" fill=
"black">$Revision:
1.6 $
</text>
51 <rect id=
"test-frame" x=
"1" y=
"1" width=
"478" height=
"358" fill=
"none" stroke=
"#000000"/>