Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / W3C-SVG-1.1 / animate-elem-13-t.svg
blob8f0aff07f1e76455a7a7470ef6d5a60965c426e9
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 <!-- -->
11 <!-- animation-add-BE-07.svg -->
12 <!-- renamed for 1.1 suite to animate-elem-13-t.svg -->
13 <!-- -->
14 <!-- Test 'from', 'by', 'to' and 'values' -->
15 <!-- -->
16 <!-- Author : Jon Ferraiolo 11-Aug-2000 -->
17 <!-- Revised for 1.1 : Mathias Larsson Carlander Feb/12/2002 -->
18 <!-- Revised for SVGT/B : Mathias Larsson Carlander Jul/1/2002 -->
19 <!-- -->
20 <!-- History: -->
21 <!-- 11-Aug-2000, JF: Serial#1 created. -->
22 <!-- -->
23 <!-- =====================================================================-->
24 <!--======================================================================-->
25 <!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
26 <!--= log messages, and therefore is no longer in the preceding preamble.=-->
27 <!--======================================================================-->
28 <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">
29 <SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
30 <OperatorScript version="$Revision: 1.8 $" testname="animate-elem-13-t.svg">
31 <Paragraph>
32 Test 'from', 'by', 'to' and 'values'
33 </Paragraph>
34 <Paragraph>
35 Six animations have been defined. All six animations define the same simultaneous behavior, but use different combinations of
36 attributes 'from', 'by', 'to' and 'values'. In all cases, from time 2 seconds to time 5 seconds, the rectangle should change
37 from a width of 30 to a width of 300.
38 </Paragraph>
39 <Paragraph>
40 The red text shows the attributes that were used for that particular animation.
41 </Paragraph>
42 </OperatorScript>
43 </SVGTestCase>
44 <title id="test-title">animate-elem-13-t</title>
45 <desc id="test-desc">Test 'from', 'by', 'to' and 'values'</desc>
46 <!--======================================================================-->
47 <!--Content of Test Case follows... =====================-->
48 <!--======================================================================-->
49 <g id="test-body-content" font-family="Arial" font-size="30">
50 <line x1="190" x2="190" y1="45" y2="300" stroke="#880000" stroke-width="4"/>
51 <line x1="460" x2="460" y1="45" y2="300" stroke="#880000" stroke-width="4"/>
52 <text x="156" y="32">0-2 sec.</text>
53 <text x="370" y="32">5+ sec.</text>
54 <g>
55 <rect x="160" y="60" width="30" height="30" fill="#FFAA44" stroke="#FF00FF" stroke-width="4">
56 <animate id="an1" attributeName="width" from="30" to="300" begin="2s" dur="3s" fill="freeze"/>
57 </rect>
58 <text x="20" y="85" fill="red">from to</text>
59 </g>
60 <g>
61 <rect x="160" y="100" width="30" height="30" fill="#FFAA44" stroke="#FF00FF" stroke-width="4">
62 <animate attributeName="width" from="30" by="270" begin="2s" dur="3s" fill="freeze"/>
63 </rect>
64 <text x="20" y="125" fill="red">from by</text>
65 </g>
66 <g>
67 <rect x="160" y="140" width="30" height="30" fill="#FFAA44" stroke="#FF00FF" stroke-width="4">
68 <animate attributeName="width" by="270" begin="2s" dur="3s" fill="freeze"/>
69 </rect>
70 <text x="20" y="165" fill="red">by</text>
71 </g>
72 <g>
73 <rect x="160" y="180" width="30" height="30" fill="#FFAA44" stroke="#FF00FF" stroke-width="4">
74 <animate attributeName="width" to="300" begin="2s" dur="3s" fill="freeze"/>
75 </rect>
76 <text x="20" y="205" fill="red">to</text>
77 </g>
78 <g>
79 <rect x="160" y="220" width="30" height="30" fill="#FFAA44" stroke="#FF00FF" stroke-width="4">
80 <animate attributeName="width" values="30;300" begin="2s" dur="3s" fill="freeze"/>
81 </rect>
82 <text x="20" y="245" fill="red">values</text>
83 </g>
84 <g>
85 <rect x="160" y="260" width="30" height="30" fill="#FFAA44" stroke="#FF00FF" stroke-width="4">
86 <animate attributeName="width" values="30;120;210;300" begin="2s" dur="3s" fill="freeze"/>
87 </rect>
88 <text x="20" y="285" fill="red">values</text>
89 </g>
90 </g>
92 <text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.8 $</text>
93 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
94 </svg>