animate-elem-53-t-isvalid.html (5018B)
1 <!DOCTYPE html> 2 <html lang='en'> 3 <head> 4 <title>animate-elem-53-t-manual.svg</title> 5 <meta charset='utf-8'> 6 </head> 7 <body> 8 <h1>Source SVG: animate-elem-53-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-53-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 <defs> 32 <polygon id="p" points="0,0 30,0 30,30 0,30" fill="none" stroke="black"/> 33 </defs> 34 <g transform="translate(0,0)"> 35 <use xlink:href="#p" x="10" y="10"/> 36 <text x="15" y="35" font-size="20">0s</text> 37 <use xlink:href="#p" x="10" y="50"/> 38 <text x="15" y="75" font-size="20">3s</text> 39 <use xlink:href="#p" x="10" y="130"/> 40 <text x="15" y="155" font-size="20">6s</text> 41 <rect x="10" y="130" width="58.28" height="58.28" fill="none" stroke="black"/> 42 <text x="45" y="185" font-size="20">9s</text> 43 <polygon id="LG" points="0,0 30,0 30,30 0,30" fill="none" stroke="green"> 44 <animate attributeName="points" begin="0" dur="9" fill="freeze" values="10,10 40,10 40,40 10,40; 10,50 40,50 40,80 10,80; 10,130 40,130 40,160 10,160; 10,130 68.28,130 68.28,188.28 10,188.28"/> 45 </polygon> 46 <g transform="translate(70,10)"> 47 <polygon id="RG" points="0,0 30,0 30,30 0,30" fill="none" stroke="green"> 48 <animateMotion values="0,0;0,40;0,120" begin="0" dur="6" calcMode="linear" fill="freeze"/> 49 <animateTransform attributeName="transform" type="scale" from="1" to="1.9428" begin="6" dur="3" fill="freeze"/> 50 </polygon> 51 </g> 52 </g> 53 <g transform="translate(120,0)"> 54 <use xlink:href="#p" x="10" y="10"/> 55 <text x="15" y="35" font-size="20">0s</text> 56 <use xlink:href="#p" x="10" y="50"/> 57 <text x="15" y="75" font-size="20">2.22s</text> 58 <use xlink:href="#p" x="10" y="130"/> 59 <text x="15" y="155" font-size="20">6.66s</text> 60 <rect x="10" y="130" width="58.28" height="58.28" fill="none" stroke="black"/> 61 <text x="45" y="185" font-size="20">8s</text> 62 <polygon id="LR" points="10,10 40,10 40,40 10,40" fill="none" stroke="blue"> 63 <animate attributeName="points" begin="0" dur="8" calcMode="paced" fill="freeze" values="10,10 40,10 40,40 10,40; 10,50 40,50 40,80 10,80; 10,130 40,130 40,160 10,160; 10,130 68.28,130 68.28,188.28 10,188.28"/> 64 </polygon> 65 <g transform="translate(70,10)"> 66 <polygon id="RR" points="0,0 30,0 30,30 0,30" fill="none" stroke="blue"> 67 <animateMotion values="0,0;0,40;0,120" begin="0" dur="6.66" fill="freeze"/> 68 <animateTransform attributeName="transform" type="scale" from="1" to="1.9428" begin="6.66" dur="1.34" fill="freeze"/> 69 </polygon> 70 </g> 71 </g> 72 <text x="5" y="225" font-size="26">Animation on: 'points' with 'calc-mode'.</text> 73 <text x="5" y="255" font-size="16">Coloblue and black squares should match at indicated time.</text> 74 <text x="5" y="275" font-size="16">Same coloblue squares (green and blue) should match at all times</text> 75 </g> 76 <g font-family="SVGFreeSansASCII,sans-serif" font-size="32"> 77 <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text> 78 </g> 79 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/> 80 <!-- comment out this watermark once the test is approved --> 81 <g id="draft-watermark"> 82 <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/> 83 <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240" 84 text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text> 85 </g> 86 </svg> 87 </body> 88 </html>