animate-elem-92-t-isvalid.html (4105B)
1 <!DOCTYPE html> 2 <html lang='en'> 3 <head> 4 <title>animate-elem-92-t-manual.svg</title> 5 <meta charset='utf-8'> 6 </head> 7 <body> 8 <h1>Source SVG: animate-elem-92-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-92-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 <text text-anchor="middle" x="240" y="30" font-size="20">discrete to-animation</text> 32 <g transform="translate(100, 70)"> 33 <g transform="translate(80,25)" text-anchor="end" font-size="14"> 34 <text>without freezing</text> 35 <text y="55">with freezing</text> 36 <text y="110">with keyTimes</text> 37 </g> 38 39 <g id="timeMarkersText" transform="translate(150, 5)" text-anchor="middle" font-size="14"> 40 <text>0s-2s</text> 41 <text y="-16">> 4s</text> 42 <text x="80">2s-4s</text> 43 44 <g transform="translate(0, 55)"> 45 <text>0s-2s</text> 46 <text x="80">> 2s</text> 47 </g> 48 49 <g transform="translate(0, 110)"> 50 <text>0s-2s</text> 51 <text x="80">> 2s</text> 52 </g> 53 </g> 54 55 <g transform="translate(150,20)" stroke="black"> 56 <defs> 57 <rect id="shadow" x="-6" y="-6" width="12" height="12" fill="#ccc" stroke="black" stroke-width="1"/> 58 </defs> 59 60 <g> 61 <use xlink:href="#shadow" x="0"/> 62 <use xlink:href="#shadow" x="80"/> 63 64 <rect x="-6" y="-6" width="12" height="12" fill="rgb(204,0,102)"> 65 <animate attributeName="x" calcMode="discrete" to="74" dur="4s"/> 66 </rect> 67 </g> 68 69 <g transform="translate(0, 55)"> 70 <use xlink:href="#shadow" x="0"/> 71 <use xlink:href="#shadow" x="80"/> 72 73 <rect x="-6" y="-6" width="12" height="12" fill="rgb(204,0,102)"> 74 <animate attributeName="x" calcMode="discrete" to="74" dur="4s" fill="freeze"/> 75 </rect> 76 </g> 77 78 <g transform="translate(0, 110)"> 79 <use xlink:href="#shadow" x="0"/> 80 <use xlink:href="#shadow" x="80"/> 81 82 <rect x="-6" y="-6" width="12" height="12" fill="rgb(204,0,102)"> 83 <animate attributeName="x" calcMode="discrete" to="74" dur="8s" keyTimes="0; 0.25" fill="freeze"/> 84 </rect> 85 </g> 86 </g> 87 </g> 88 </g> 89 <g font-family="SVGFreeSansASCII,sans-serif" font-size="32"> 90 <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text> 91 </g> 92 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/> 93 <!-- comment out this watermark once the test is approved --> 94 <!-- 95 <g id="draft-watermark"> 96 <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/> 97 <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240" 98 text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text> 99 </g> 100 --> 101 </svg> 102 </body> 103 </html>