Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / W3C-SVG-1.1 / animate-elem-69-t.svg
blobab50778b3207b21f8694b9223019d2e49fa4dee3
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--======================================================================-->
3 <!--= Copyright 2004 World Wide Web Consortium, (Massachusetts =-->
4 <!--= Institute of Technology, Institut National de Recherche en =-->
5 <!--= Informatique et en Automatique, Keio University). All Rights =-->
6 <!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
7 <!--======================================================================--><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
9 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" baseProfile="tiny" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
10 <SVGTestCase xmlns:testcase="http://www.w3.org/2000/02/svg/testsuite/description/" xmlns="http://www.w3.org/2000/02/svg/testsuite/description/" reviewer="CN" owner="VH" desc="Basic test on the repeatDur attribute" status="accepted" version="$Revision: 1.7 $" testname="$RCSfile: animate-elem-69-t.svg,v $">
11 <OperatorScript>
12 <Paragraph>
13 This tests performs basic tests on the repeatDur attribute
14 </Paragraph>
15 <Paragraph>
16 Each row in the test shows different rectangles subject to &lt;set&gt;
17 animations with different configurations with regards to the repeatDur
18 attribute. For each row, the animation should be active
19 during the first 5 seconds of the animations where the red rectangle
20 should show in the right column. At five seconds into the animation,
21 all the rectangles should move to their left position.
22 </Paragraph>
23 <Paragraph>
24 On the first row, the &lt;set&gt; animation has its dur attribute set to
25 '5s' and its repeatDur unspecified. Consequently, its only interval
26 is (0s &lt;= t &lt; 5s).
27 </Paragraph>
28 <Paragraph>
29 On the second row, the &lt;set&gt; animation has its dur attribute set to
30 1s and its repeatDur set to 5s. Consequently, its only interval is
31 (0s &lt;= t &lt; 5s).
32 </Paragraph>
33 <Paragraph>
34 On the third row, the &lt;set&gt; animation has its dur attribute set to
35 0.5s and its repeatDur set to 5s. Consequently, its only interval is
36 (0s &lt;= t &lt; 5s).
37 </Paragraph>
38 <Paragraph>
39 On the fourth row, the &lt;set&gt; animation has its dur attribute set to
40 1s and its repeatDur set to indefinite. It also has an end attribute
41 set to 5s. Consequently, the repeat duration is indefinite, but the active
42 duration is limited by the end attribute and the active interval is (0s &lt;= t &lt; 5s).
43 </Paragraph>
44 <Paragraph>
45 On the fifth row, the &lt;set&gt; animation has its dur attribute set to
46 0.7s and its repeatDur set to 5s. Consequently, its only interval is
47 (0s &lt;= t &lt; 5s). The difference with the 3rd row is that there is a fractional
48 number of simple durations in the active duration (7.1428) where there
49 is a whole number of simple durations in the third row (10).
50 </Paragraph>
51 </OperatorScript>
52 </SVGTestCase>
53 <title id="test-title">$RCSfile: animate-elem-69-t.svg,v $</title>
55 <!--======================================================================-->
56 <!--Content of Test Case follows... =====================-->
57 <!--======================================================================-->
58 <text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.7 $</text>
59 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>
61 <text text-anchor="middle" x="240" y="30" font-size="20">repeatDur</text>
63 <g transform="translate(130, 80)">
65 <g transform="translate(120,45)" text-anchor="end" font-size="14">
66 <text>dur=5s repeatDur unspecified</text>
67 <text y="25">dur=1s repeatDur=5s</text>
68 <text y="50">dur=0.5s repeatDur=5s</text>
69 <text y="75">dur=1s repeatDur=indefinite</text>
70 <text y="90">end=5s</text>
71 <text y="125">dur=0.7s repeatDur=5s</text>
72 </g>
74 <g id="timeMarkersText" transform="translate(180, 25)" text-anchor="middle" font-size="14">
75 <text>&gt; 5s</text>
76 <text x="80">0s-5s</text>
77 </g>
79 <g transform="translate(180,40)" stroke="black">
80 <defs>
81 <rect id="shadow" x="-6" y="-6" width="12" height="12" fill="#ccc" stroke="black" stroke-width="1"/>
82 </defs>
84 <g id="setOne">
85 <use xlink:href="#shadow" x="0"/>
86 <use xlink:href="#shadow" x="80"/>
88 <rect x="-6" y="-6" width="12" height="12" fill="rgb(204,0,102)">
89 <set id="firstSet" attributeName="x" to="74" dur="5s"/>
90 </rect>
92 </g>
94 <g id="setTwo" transform="translate(0, 25)">
95 <use xlink:href="#shadow" x="0"/>
96 <use xlink:href="#shadow" x="80"/>
98 <rect x="-6" y="-6" width="12" height="12" fill="rgb(204,0,102)">
99 <set attributeName="x" to="74" dur="1s" repeatDur="5s"/>
100 </rect>
102 </g>
104 <g id="setThree" transform="translate(0, 50)">
105 <use xlink:href="#shadow" x="0"/>
106 <use xlink:href="#shadow" x="80"/>
108 <rect x="-6" y="-6" width="12" height="12" fill="rgb(204,0,102)">
109 <set attributeName="x" to="74" dur="0.5s" repeatDur="5s"/>
110 </rect>
111 </g>
113 <g id="setFour" transform="translate(0, 75)">
114 <use xlink:href="#shadow" x="0"/>
115 <use xlink:href="#shadow" x="80"/>
117 <rect x="-6" y="-6" width="12" height="12" fill="rgb(204,0,102)">
118 <set attributeName="x" to="74" dur="1s" end="5s" repeatDur="indefinite"/>
119 </rect>
120 </g>
122 <g id="setFive" transform="translate(0, 125)">
123 <use xlink:href="#shadow" x="0"/>
124 <use xlink:href="#shadow" x="80"/>
126 <rect x="-6" y="-6" width="12" height="12" fill="rgb(204,0,102)">
127 <set attributeName="x" to="74" dur="0.7s" repeatDur="5s"/>
128 </rect>
129 </g>
130 </g>
131 </g>
132 </svg>