Debian Codegraph @

test_non_regression/fail/na/animation/animate-elem-26-t.svg

raw
1 <svg version="1.1" baseProfile="tiny" id="svg-root"
2 width="100%" height="100%" viewBox="0 0 480 360"
3 xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
4 <!--======================================================================-->
5 <!--= SVG 1.1 2nd Edition Test Case =-->
6 <!--======================================================================-->
7 <!--= Copyright 2009 World Wide Web Consortium, (Massachusetts =-->
8 <!--= Institute of Technology, European Research Consortium for =-->
9 <!--= Informatics and Mathematics (ERCIM), Keio University). =-->
10 <!--= All Rights Reserved. =-->
11 <!--= See http://www.w3.org/Consortium/Legal/. =-->
12 <!--======================================================================-->
13 <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"
14 template-version="1.4" reviewer="SVGWG" author="Jon Ferraiolo" status="accepted"
15 version="$Revision: 1.6 $" testname="$RCSfile: animate-elem-26-t.svg,v $">
16 <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/animate.html#Animation">
17 <p>
18 Test animation options for specifying the target attribute/property.
19 </p>
20 <p>
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'.
24 </p>
25 <p>
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.
29 </p>
30 </d:testDescription>
31 <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">
32 <p>
33 Run the test. No interaction required.
34 </p>
35 </d:operatorScript>
36 <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">
37 <p>
38 The test is passed if:
39 </p>
40 <ul>
41 <li>the left blue circle smoothly animates its stroke-width from time t=1 second to time t=5 seconds, so that the blue color fully fills the left donut shape</li>
42 <li>the right pink circle smoothly animates its stroke-width from time t=4 seconds to time t=7 seconds, so that the pink color fully fills the right donut shape</li>
43 <li>both of the stroke-width animations originate from the thin black circle in the middle of each donut shape</li>
44 </ul>
45 </d:passCriteria>
46 </d:SVGTestCase>
47 <title id="test-title">$RCSfile: animate-elem-26-t.svg,v $</title>
48 <defs>
49 <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">
50 <font-face-src>
51 <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>
52 </font-face-src>
53 </font-face>
54 </defs>
55 <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">
56 <g font-size="30">
57 <circle cx="120" cy="140" r="70" fill="none" stroke="#36e" stroke-width="1">
58 <animate attributeName="stroke-width" from="1" to="60" begin="1s" dur="4s" fill="freeze"/>
59 </circle>
60 <circle cx="120" cy="140" r="40" fill="none" stroke="black" stroke-width="1"/>
61 <circle cx="120" cy="140" r="70" fill="none" stroke="black" stroke-width="1"/>
62 <circle cx="120" cy="140" r="100" fill="none" stroke="black" stroke-width="1"/>
63 <text x="70" y="280">anim. 1</text>
64 </g>
65 <g font-size="30">
66 <circle cx="360" cy="140" r="70" fill="none" stroke="#e3a" stroke-width="1">
67 <animate attributeName="stroke-width" attributeType="CSS" from="1" to="60" begin="4s" dur="3s" fill="freeze"/>
68 </circle>
69 <circle cx="360" cy="140" r="40" fill="none" stroke="black" stroke-width="1"/>
70 <circle cx="360" cy="140" r="70" fill="none" stroke="black" stroke-width="1"/>
71 <circle cx="360" cy="140" r="100" fill="none" stroke="black" stroke-width="1"/>
72 <text x="310" y="280">anim. 2</text>
73 </g>
74 </g>
75 <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">
76 <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text>
77 </g>
78 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
79 <!-- comment out this watermark once the test is approved -->
80 <!--<g id="draft-watermark">
81 <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>
82 <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"
83 text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>
84 </g>-->
85 </svg>