animate-elem-89-t-isvalid.html (4828B)
1 <!DOCTYPE html> 2 <html lang='en'> 3 <head> 4 <title>animate-elem-89-t-manual.svg</title> 5 <meta charset='utf-8'> 6 </head> 7 <body> 8 <h1>Source SVG: animate-elem-89-t-manual.svg</h1> 9 <svg version="1.1" baseProfile="tiny" id="svg-root" 10 width="100%" height="100%" viewBox="0 0 480 360" 11 xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> 12 <!--======================================================================--> 13 <!--= SVG 1.1 2nd Edition Test Case =--> 14 <!--======================================================================--> 15 <!--= Copyright 2009 World Wide Web Consortium, (Massachusetts =--> 16 <!--= Institute of Technology, European Research Consortium for =--> 17 <!--= Informatics and Mathematics (ERCIM), Keio University). =--> 18 <!--= All Rights Reserved. =--> 19 <!--= See http://www.w3.org/Consortium/Legal/. =--> 20 <!--======================================================================--> 21 22 <title id="test-title">$RCSfile: animate-elem-89-t.svg,v $</title> 23 <defs> 24 <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F"> 25 <font-face-src> 26 <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/> 27 </font-face-src> 28 </font-face> 29 </defs> 30 <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18"> 31 <g font-family="SVGFreeSansASCII" font-size="20"> 32 33 <!-- guide lines and labelling --> 34 <g transform="translate(10,50)"> 35 <text x="0" y="203">0 sec.</text> 36 <text x="0" y="170">3 sec. </text> 37 <text x="0" y="114">6 sec. </text> 38 <text x="3" y="3">9+ sec. </text> 39 <g stroke="#AAA" stroke-width="4"> 40 <line x1="70" y1="200" x2="450" y2="200"/> 41 <line x1="70" y1="167" x2="450" y2="167"/> 42 <line x1="70" y1="111" x2="450" y2="111"/> 43 <line x1="70" y1="0" x2="450" y2="0"/> 44 </g> 45 </g> 46 47 <!-- first set of three subtests, keySplines on animation element --> 48 <g transform="translate(60,50)"> 49 50 <rect x="140" y="-10" width="50" height="210" fill="rgb(34, 139, 34)" stroke="#555" stroke-width="4"> 51 <animate attributeName="height" calcMode="spline" keySplines="0,0,1,1;0,0,1,1;.75,0,0,.75" values="210;177;121;10" begin="0s" dur="9s" fill="freeze"/> 52 <!-- commas --> 53 </rect> 54 <rect x="90" y="-10" width="50" height="210" fill="rgb(50, 205, 50)" stroke="#555" stroke-width="4"> 55 <animate attributeName="height" calcMode="spline" keySplines="0 0 1 1;0 0 1 1;.75 0 0 .75" values="210;177;121;10" begin="0s" dur="9s" fill="freeze"/> 56 <!-- spaces --> 57 </rect> 58 <rect x="40" y="-10" width="50" height="210" fill="rgb(154, 205, 50)" stroke="#555" stroke-width="4"> 59 <animate attributeName="height" calcMode="spline" keySplines="0 , 0 , 1 , 1;0 , 0 , 1 , 1;.75 , 0 , 0 , .75" values="210;177;121;10" begin="0s" dur="9s" fill="freeze"/> 60 <!-- commas and spaces --> 61 </rect> 62 </g> 63 64 <!-- second set of three subtests, keySplines on animateMotion element --> 65 <g transform="translate(250,50)"> 66 67 <rect x="140" y="-10" width="60" height="10" fill="rgb(235, 110, 0)" stroke="#555" stroke-width="4"> 68 <animateMotion calcMode="spline" keySplines="0,0,1,1;0,0,1,1;.75,0,0,.75" values="0,200; 0,167; 0,111; 0,0" begin="0s" dur="9s" fill="freeze"/> 69 <!-- commas --> 70 </rect> 71 <rect x="90" y="-10" width="60" height="10" fill="rgb(255, 180, 30)" stroke="#555" stroke-width="4"> 72 <animateMotion calcMode="spline" keySplines="0 0 1 1;0 0 1 1;.75 0 0 .75" values="0,200; 0 167; 0 111; 0 0" begin="0s" dur="9s" fill="freeze"/> 73 <!-- spaces --> 74 </rect> 75 <rect x="40" y="-10" width="60" height="10" fill="rgb(255, 220, 60)" stroke="#555" stroke-width="4"> 76 <animateMotion calcMode="spline" keySplines="0 , 0 , 1 , 1;0 , 0 , 1 , 1;.75 , 0 , 0 , .75" values="0 , 200; 0 , 167; 0 , 111; 0 , 0" begin="0s" dur="9s" fill="freeze"/> 77 <!-- commas and spaces --> 78 </rect> 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.4 $</text> 84 </g> 85 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/> 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> 93 </body> 94 </html>