Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / W3C-SVG-1.1 / animate-elem-15-t.svg
blobc075c15bbd05a9ce3106f84c3b2b3b8941eae800
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">
4 <!--======================================================================-->
5 <!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
6 <!--= Institute of Technology, Institut National de Recherche en =-->
7 <!--= Informatique et en Automatique, Keio University). All Rights =-->
8 <!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
9 <!--======================================================================-->
10 <!-- =====================================================================-->
11 <!-- -->
12 <!-- animation-add-BE-08.svg -->
13 <!-- renamed for 1.1 suite to animate-elem-07-f.svg -->
14 <!-- renamed and split for svgt/b to animate-elem-15-t.svg -->
15 <!-- -->
16 <!-- Test possible values for 'keyTimes' -->
17 <!-- -->
18 <!-- Author : Jon Ferraiolo 11-Aug-2000 -->
19 <!-- Revised for 1.1 : Mathias Larsson Carlander Feb/12/2002 -->
20 <!-- Revised for svgt/b: Ola Andersson Jun/26/2002 -->
21 <!-- -->
22 <!-- History: -->
23 <!-- 11-Aug-2000, JF: Serial#1 created. -->
24 <!-- -->
25 <!-- =====================================================================-->
26 <!--======================================================================-->
27 <!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
28 <!--= log messages, and therefore is no longer in the preceding preamble.=-->
29 <!--======================================================================-->
30 <svg 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" version="1.1" baseProfile="tiny">
31 <SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
32 <OperatorScript version="$Revision: 1.5 $" testname="animate-elem-15-t.svg">
33 <Paragraph>
34 Test 'calcMode'=paced
35 </Paragraph>
36 <Paragraph>
37 One animation has been defined to animate the height of a rectangle. Ruler lines and text are provided
38 to help show what the correct behavior is. The red text shows the values for the 'calcMode' and 'keyTimes' attributes. The
39 black text and ruler lines help show the size and movement of the rectangle over time.
40 </Paragraph>
41 <Paragraph>
42 This test shows calcMode="paced" for an animation that has constant velocity, thus showing how 'values'
43 and 'keyTimes' are ignored.
44 </Paragraph>
45 </OperatorScript>
46 </SVGTestCase>
47 <title id="test-title">animate-elem-15-t</title>
48 <desc id="test-desc">Test possible values for 'keyTimes'</desc>
49 <!--======================================================================-->
50 <!--Content of Test Case follows... =====================-->
51 <!--======================================================================-->
52 <g id="test-body-content">
53 <text font-family="Arial" fill="red" font-size="40" x="3" y="45">calcMode="paced"</text>
54 <text font-family="Arial" fill="red" font-size="40" x="3" y="100">keyTimes="0;.25;.5;1"</text>
55 <g xml:space="preserve" font-family="Arial" font-size="13.5" stroke-width="3" >
56 <g transform="translate(150,140)">
57 <text font-size="36" x="-140" y="140">Time (s):</text>
58 <text font-size="36" x="290" y="140">0</text>
59 <line x1="300" y1="0" x2="300" y2="100" fill="none" stroke="#880000" />
60 <text font-size="36" x="230" y="140">1.5</text>
61 <line x1="255" y1="0" x2="255" y2="100" fill="none" stroke="#880000" />
62 <text font-size="36" x="170" y="140">4</text>
63 <line x1="180" y1="0" x2="180" y2="100" fill="none" stroke="#880000" />
64 <text font-size="36" x="20" y="140">9</text>
65 <line x1="30" y1="0" x2="30" y2="100" fill="none" stroke="#880000" />
66 <rect x="0" y="0" width="300" height="80" fill="#44AAFF" stroke="#880088" stroke-width="4" >
67 <animate id="an1" attributeName="width" calcMode="paced" values="300;255;180;30" keyTimes="0;.25;.5;1" begin="0s" dur="9s" fill="freeze"/>
68 </rect>
70 </g>
72 </g>
73 </g>
74 <text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.5 $</text>
75 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
76 </svg>