Debian Codegraph @

test_non_regression/fail/na/animation/animate-elem-86-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="[empty]" author="ED" status="created"
15 version="$Revision: 1.5 $" testname="$RCSfile: animate-elem-86-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 [[Describe which section and what specific assertion is being tested
19 by the test. If the test has a number of sub tests, multiple
20 "testComponent" elements can be specified within the "testDescription"
21 element.]]
22 </p>
23 </d:testDescription>
24 <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">
25 <p>
26 This tests performs tests on fill="freeze" values.
27 </p>
28 <p>
29 Currently, this test does not claim to show correct
30 behaviour in SVG 1.1. The reason is only to show the
31 difference between current viewers at this point.
32 </p>
33 <p>
34 When the correct behaviour has been defined, this test
35 can be adjusted to reflect that.
36 </p>
37 </d:operatorScript>
38 <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">
39 <p>
40 [[Describe the pass criteria of the test here. The pass criteria is what
41 should be displayed when the test is run.]]
42 </p>
43 </d:passCriteria>
44 </d:SVGTestCase>
45 <title id="test-title">$RCSfile: animate-elem-86-t.svg,v $</title>
46 <defs>
47 <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">
48 <font-face-src>
49 <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>
50 </font-face-src>
51 </font-face>
52 </defs>
53 <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">
54 <text text-anchor="middle" x="240" y="30" font-size="20">fill="freeze" with discrete calcMode</text>
55
56 <g transform="translate(100, 100)">
57 <g transform="translate(80,25)" text-anchor="end" font-size="14">
58 <text>discrete</text>
59 </g>
60
61 <g id="timeMarkersText" transform="translate(150, 5)" text-anchor="middle" font-size="14">
62 <text>&gt; 2s</text>
63 <text x="80">0s-2s</text>
64 </g>
65
66 <g transform="translate(150,20)" stroke="black">
67 <defs>
68 <rect id="shadow" x="-6" y="-6" width="12" height="12" fill="#ccc" stroke="black" stroke-width="1"/>
69 </defs>
70
71 <g id="setOne">
72 <use xlink:href="#shadow" x="0"/>
73 <use xlink:href="#shadow" x="80"/>
74
75 <rect x="-6" y="-6" width="12" height="12" fill="rgb(204,0,102)">
76 <animate id="firstSet" calcMode="discrete" attributeName="x" values="74;-6" dur="4s" end="2s" fill="freeze"/>
77 </rect>
78 </g>
79 </g>
80 </g>
81 </g>
82 <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">
83 <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.5 $</text>
84 </g>
85 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>
86 <!-- comment out this watermark once the test is approved -->
87 <g id="draft-watermark">
88 <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>
89 <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"
90 text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>
91 </g>
92 </svg>