| <?xml version="1.0" encoding="UTF-8"?> |
| <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd"> |
| <!--======================================================================--> |
| <!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =--> |
| <!--= Institute of Technology, Institut National de Recherche en =--> |
| <!--= Informatique et en Automatique, Keio University). All Rights =--> |
| <!--= Reserved. See http://www.w3.org/Consortium/Legal/. =--> |
| <!--======================================================================--> |
| <!-- =====================================================================--> |
| <!-- animation-add-BE-11.svg --> |
| <!-- renamed for 1.1 suite to animate-elem-03-f.svg --> |
| <!-- renamed for Tiny suite to animate-elem-04-t.svg --> |
| <!-- Author : Jon Ferraiolo 11-Aug-2000 --> |
| <!-- Revised for 1.1 : Mathias Larsson Carlander Feb/12/2002 --> |
| <!-- Revised for Tiny: Takeshi Sagara 04-Jul-2002 --> |
| <!--======================================================================--> |
| <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 80 60"> |
| <SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/"> |
| <OperatorScript version="$Revision: 1.7 $" testname="animate-elem-04-t.svg"> |
| <Paragraph> |
| Test different ways of defining a motion path. |
| </Paragraph> |
| <Paragraph> |
| An animation moves a triangle along a path. Reference rectangles, lines and text |
| are provided to help show what the correct behavior is. The red text shows the way that the motion path is specified. |
| </Paragraph> |
| <Paragraph> |
| This animation uses the 'from' and 'to' attributes to define the motion path. |
| </Paragraph> |
| </OperatorScript> |
| </SVGTestCase> |
| <title id="test-title">animate-elem-04-t</title> |
| <desc id="test-desc">Test different ways of defining a motion path.</desc> |
| <!--======================================================================--> |
| <!--Content of Test Case follows... =====================--> |
| <!--======================================================================--> |
| <g id="test-body-content"> |
| <text font-family="Arial" font-size="8" x="8" y="8">Test a motion path</text> |
| <text font-family="Arial" font-size="8" x="9" y="18" fill="red"> 'from'/'to' attribute.</text> |
| <g font-family="Arial" font-size="8"> |
| <path d="M15,43 L65,30" fill="none" stroke="black" stroke-width="1"/> |
| <rect x="10" y="33" width="10" height="10" fill="#FFCCCC" stroke="black" stroke-width="1"/> |
| <text x="7" y="50">0 sec.</text> |
| <rect x="60" y="20" width="10" height="10" fill="#FFCCCC" stroke="black" stroke-width="1"/> |
| <text x="52" y="37">3+ sec.</text> |
| <path d="M-5,0 L0,-10 L5,0 z" fill="blue" stroke="red" stroke-width="1"> |
| <animateMotion id="an1" from="15,43" to="65,30" begin="0s" dur="3s" fill="freeze"/> |
| </path> |
| </g> |
| </g> |
| <text id="revision" x="5" y="57" font-size="6" stroke="none" fill="black">$Revision: 1.7 $</text> |
| <rect id="test-frame" x="1" y="1" width="78" height="58" fill="none" stroke="#000000"/> |
| </svg> |