animate-elem-83-t-isvalid.html (8856B)
1 <!DOCTYPE html> 2 <html lang='en'> 3 <head> 4 <title>animate-elem-83-t-manual.svg</title> 5 <meta charset='utf-8'> 6 </head> 7 <body> 8 <h1>Source SVG: animate-elem-83-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-83-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="25" font-size="16"><animate> on <path>'s d attribute</text> 32 33 <defs> 34 <g id="ref" stroke="rgb(192,192,192)" fill="none"> 35 <circle stroke-width="2" r="40"/> 36 <line x1="-45" x2="45"/> 37 <line y1="-45" y2="45"/> 38 </g> 39 </defs> 40 41 <g transform="translate(0,0)" font-size="12"> 42 <g id="test_1" transform="translate(120,90)"> 43 <path d="M -15 0 C -15 0 0 -15 0 -15 C 0 -15 15 0 15 0 C 15 0 0 15 0 15 C 0 15 -15 0 -15 0 Z" stroke="none" stroke-width="4" fill="rgb(230,230,230)"> 44 <animate attributeName="d" from="M -15 0 C -15 0 0 -15 0 -15 C 0 -15 15 0 15 0 C 15 0 0 15 0 15 C 0 15 -15 0 -15 0 Z" to="M 0 0 C -50 -15 -15 -50 0 0 C 15 -50 50 -15 0 0 C 50 15 15 50 0 0 C -15 50 -50 15 0 0 Z" dur="3s" fill="freeze" begin="1s"/> 45 </path> 46 47 <path d="M -15 0 C -15 0 0 -15 0 -15 C 0 -15 15 0 15 0 C 15 0 0 15 0 15 C 0 15 -15 0 -15 0 Z" stroke="rgb(255,180,0)" stroke-width="1" fill="none"> 48 <set attributeName="stroke-width" to="4" begin="1s" dur="0.2s"/> 49 </path> 50 51 <path d="M 0 0 C -50 -15 -15 -50 0 0 C 15 -50 50 -15 0 0 C 50 15 15 50 0 0 C -15 50 -50 15 0 0 Z" stroke="rgb(255,180,0)" stroke-width="1" fill="none"> 52 <set attributeName="stroke-width" to="4" begin="4s" dur="0.2s"/> 53 </path> 54 55 <text y="60" text-anchor="middle">#1: from-to animation</text> 56 </g> 57 58 <g id="test_2" transform="translate(240,90)"> 59 <path d="M -15 0 C -15 0 0 -15 0 -15 C 0 -15 15 0 15 0 C 15 0 0 15 0 15 C 0 15 -15 0 -15 0 Z" stroke="none" stroke-width="4" fill="rgb(230,230,230)"> 60 <animate attributeName="d" to="M 0 0 C -50 -15 -15 -50 0 0 C 15 -50 50 -15 0 0 C 50 15 15 50 0 0 C -15 50 -50 15 0 0 Z" dur="3s" fill="freeze" begin="1s"/> 61 </path> 62 63 <path d="M -15 0 C -15 0 0 -15 0 -15 C 0 -15 15 0 15 0 C 15 0 0 15 0 15 C 0 15 -15 0 -15 0 Z" stroke="rgb(255,180,0)" stroke-width="1" fill="none"> 64 <set attributeName="stroke-width" to="4" begin="1s" dur="0.2s"/> 65 </path> 66 67 <path d="M 0 0 C -50 -15 -15 -50 0 0 C 15 -50 50 -15 0 0 C 50 15 15 50 0 0 C -15 50 -50 15 0 0 Z" stroke="rgb(255,180,0)" stroke-width="1" fill="none"> 68 <set attributeName="stroke-width" to="4" begin="4s" dur="0.2s"/> 69 </path> 70 71 <text y="60" text-anchor="middle">#2: to animation</text> 72 </g> 73 74 <g id="test_3" transform="translate(360,90)"> 75 <path d="M -15 0 C -15 0 0 -15 0 -15 C 0 -15 15 0 15 0 C 15 0 0 15 0 15 C 0 15 -15 0 -15 0 Z" stroke="none" stroke-width="4" fill="rgb(230,230,230)"> 76 <animate attributeName="d" values="M -15 0 C -15 0 0 -15 0 -15 C 0 -15 15 0 15 0 C 15 0 0 15 0 15 C 0 15 -15 0 -15 0 Z; M 0 0 C -50 -15 -15 -50 0 0 C 15 -50 50 -15 0 0 C 50 15 15 50 0 0 C -15 50 -50 15 0 0 Z; M -45 0 C -15 0 0 -15 0 -45 C 0 -15 15 0 45 0 C 15 0 0 15 0 45 C 0 15 -15 0 -45 0 Z" dur="3s" fill="freeze" begin="1s"/> 77 </path> 78 79 <path d="M -15 0 C -15 0 0 -15 0 -15 C 0 -15 15 0 15 0 C 15 0 0 15 0 15 C 0 15 -15 0 -15 0 Z" stroke="rgb(255,180,0)" stroke-width="1" fill="none"> 80 <set attributeName="stroke-width" to="4" begin="1s" dur="0.2s"/> 81 </path> 82 83 <path d="M 0 0 C -50 -15 -15 -50 0 0 C 15 -50 50 -15 0 0 C 50 15 15 50 0 0 C -15 50 -50 15 0 0 Z" stroke="rgb(255,180,0)" stroke-width="1" fill="none"> 84 <set attributeName="stroke-width" to="4" begin="2.5s" dur="0.2s"/> 85 </path> 86 87 <path d="M -45 0 C -15 0 0 -15 0 -45 C 0 -15 15 0 45 0 C 15 0 0 15 0 45 C 0 15 -15 0 -45 0 Z" stroke="rgb(255,180,0)" stroke-width="1" fill="none"> 88 <set attributeName="stroke-width" to="4" begin="4s" dur="0.2s"/> 89 </path> 90 91 <text y="60" text-anchor="middle">#3: values animation</text> 92 </g> 93 94 <g id="test_4" transform="translate(120,200)"> 95 <path d="M -30 -30 L 30 0 V 30 H 0 Z" stroke="none" stroke-width="4" fill="rgb(230,230,230)"> 96 <animate attributeName="d" from="M -30 -30 L 30 0 V 30 H 0 Z" to="M 30 30 l -60 -30 v -30 h 30 Z" dur="3s" fill="freeze" begin="1s"/> 97 </path> 98 99 <path d="M -30 -30 L 30 0 V 30 H 0 Z" stroke="rgb(255,180,0)" stroke-width="1" fill="none"> 100 <set attributeName="stroke-width" to="4" begin="1s" dur="0.2s"/> 101 </path> 102 103 <path d="M 30 30 l -60 -30 v -30 h 30 Z" stroke="rgb(255,180,0)" stroke-width="1" fill="none"> 104 <set attributeName="stroke-width" to="4" begin="4s" dur="0.2s"/> 105 </path> 106 107 <text y="60" text-anchor="middle">#4: from-to animation</text> 108 <text y="75" text-anchor="middle">compatible H/h, V/v,</text> 109 <text y="90" text-anchor="middle">L/l segments</text> 110 </g> 111 112 <g id="test_5" transform="translate(240,200)"> 113 <path d="M -20 -20 C 20 -20 20 -20 20 20 S 20 40 -20 20 Z" stroke="none" stroke-width="4" fill="rgb(230,230,230)"> 114 <animate attributeName="d" from="M -20 -20 C 20 -20 20 -20 20 20 S 20 40 -20 20 Z" to="M -20 -20 c 0 40 0 40 40 40 s 40 0 0 -40 z" dur="3s" fill="freeze" begin="1s"/> 115 </path> 116 117 <path d="M -20 -20 C 20 -20 20 -20 20 20 S 20 40 -20 20 Z" stroke="rgb(255,180,0)" stroke-width="1" fill="none"> 118 <set attributeName="stroke-width" to="4" begin="1s" dur="0.2s"/> 119 </path> 120 121 <path d="M -20 -20 c 0 40 0 40 40 40 s 40 0 0 -40 z" stroke="rgb(255,180,0)" stroke-width="1" fill="none"> 122 <set attributeName="stroke-width" to="4" begin="4s" dur="0.2s"/> 123 </path> 124 125 <text y="60" text-anchor="middle">#5: from-to animation</text> 126 <text y="75" text-anchor="middle">compatible C/c</text> 127 <text y="90" text-anchor="middle">s/S segments</text> 128 </g> 129 130 <g id="test_6" transform="translate(360,200)"> 131 <path d="M -30 -30 Q 30 -30 30 0 T -30 30 Z" stroke="none" stroke-width="4" fill="rgb(230,230,230)"> 132 <animate attributeName="d" from="M -30 -30 Q 30 -30 30 0 T -30 30 Z" to="M -30 -30 q 30 0 30 30 t -30 30 z" dur="3s" fill="freeze" begin="1s"/> 133 </path> 134 135 <path d="M -30 -30 Q 30 -30 30 0 T -30 30 Z" stroke="rgb(255,180,0)" stroke-width="1" fill="none"> 136 <set attributeName="stroke-width" to="4" begin="1s" dur="0.2s"/> 137 </path> 138 139 <path d="M -30 -30 q 30 0 30 30 t -30 30 " stroke="rgb(255,180,0)" stroke-width="1" fill="none"> 140 <set attributeName="stroke-width" to="4" begin="4s" dur="0.2s"/> 141 </path> 142 143 <text y="60" text-anchor="middle">#6: from-to animation</text> 144 <text y="75" text-anchor="middle">compatible Q/q, T/t</text> 145 <text y="90" text-anchor="middle">segments</text> 146 </g> 147 </g> 148 </g> 149 <g font-family="SVGFreeSansASCII,sans-serif" font-size="32"> 150 <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text> 151 </g> 152 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/> 153 <!-- comment out this watermark once the test is approved --> 154 <!--<g id="draft-watermark"> 155 <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/> 156 <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240" 157 text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text> 158 </g>--> 159 </svg> 160 </body> 161 </html>