Debian Codegraph @

test_non_regression/fail/na/animation/animate-elem-25-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.7 $" testname="$RCSfile: animate-elem-25-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 The left-hand rectangle animates an XML attribute without
22 specifying a value for 'attributeType'. The right-hand rectangle
23 animates an XML attribute and does set 'attributeType' to 'XML'.
24 </p>
25 <p>
26 The left rectangle animates its height from 100 to 50,
27 starting at time 3 seconds and ending at 6 seconds.
28 The right rectangle animates its height from 100 to 50,
29 starting at time 6 seconds and ending at 9 seconds.
30 </p>
31 </d:testDescription>
32 <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">
33 <p>
34 Run the test. No interaction required.
35 </p>
36 </d:operatorScript>
37 <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">
38 <p>
39 The test is passed if:
40 </p>
41 <ul>
42 <li>the left yellow rectangle animates its height from 100 to 50,
43 starting at time 3 seconds and ending at 6 seconds, as indicated
44 by the green ruler lines.</li>
45 <li>the right yellow rectangle animates its height from 100 to 50,
46 starting at time 6 seconds and ending at 9 seconds, as indicated
47 by the green ruler lines.
48 </li>
49 </ul>
50 </d:passCriteria>
51 </d:SVGTestCase>
52 <title id="test-title">$RCSfile: animate-elem-25-t.svg,v $</title>
53 <defs>
54 <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">
55 <font-face-src>
56 <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>
57 </font-face-src>
58 </font-face>
59 </defs>
60 <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">
61 <text font-family="Arial" font-size="14" x="30" y="40">Test animation options for specifying the target attribute/property.</text>
62 <g xml:space="preserve" font-family="Arial" font-size="14" stroke-width="3" transform="translate(0,50)">
63 <text x="20" y="164">0-3 sec. </text>
64 <line x1="80" y1="160" x2="200" y2="160" fill="none" stroke="green"/>
65 <text x="20" y="124">at 6 sec. </text>
66 <line x1="80" y1="120" x2="200" y2="120" fill="none" stroke="green"/>
67 <rect id="rect1" x="100" y="80" width="100" height="80" fill="#FFFF00" stroke="#FF00FF" stroke-width="4">
68 <animate attributeName="height" from="80" to="40" begin="3s" dur="3s" fill="freeze"/>
69 </rect>
70 <text x="240" y="164">0-6 sec. </text>
71 <line x1="305" y1="160" x2="425" y2="160" fill="none" stroke="green"/>
72 <text x="240" y="124">at 9 sec. </text>
73 <line x1="305" y1="120" x2="425" y2="120" fill="none" stroke="green"/>
74 <rect id="rect2" x="325" y="80" width="100" height="80" fill="#FFFF00" stroke="#FF00FF" stroke-width="4">
75 <animate attributeName="height" attributeType="XML" from="80" to="40" begin="6s" dur="3s" fill="freeze"/>
76 </rect>
77 </g>
78 </g>
79 <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">
80 <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text>
81 </g>
82 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
83 <!-- comment out this watermark once the test is approved -->
84 <!--<g id="draft-watermark">
85 <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>
86 <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"
87 text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>
88 </g>-->
89 </svg>