animate-elem-31-t-isvalid.html (6201B)
1 <!DOCTYPE html> 2 <html lang='en'> 3 <head> 4 <title>animate-elem-31-t-manual.svg</title> 5 <meta charset='utf-8'> 6 </head> 7 <body> 8 <h1>Source SVG: animate-elem-31-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-31-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 <!-- GRAY TESTAREAS--> 32 <rect x="5" y="7.5" width="375" height="75" fill="silver" stroke="black" stroke-width="3"/> 33 <rect x="5" y="112.5" width="375" height="75" fill="silver" stroke="black" stroke-width="3"/> 34 <g transform="scale(1.5)" display="inline"> 35 36 <!-- PURPLE CIRCLES--> 37 <circle display="inline" cx="30" cy="30" r="20" fill="purple" stroke="black" stroke-width="5"/> 38 <circle display="inline" cx="30" cy="100" r="20" fill="purple" stroke="black" stroke-width="5"> 39 <animate attributeName="visibility" from="visible" to="hidden" begin="6" dur="2"/> 40 </circle> 41 42 <!-- GREEN CIRCLES--> 43 <g display="none"> 44 <circle display="inline" cx="80" cy="30" r="20" fill="green" stroke="black" stroke-width="5"/> 45 <animate attributeName="display" from="none" to="inline" begin="0" dur="3" fill="freeze"/> 46 </g> 47 <circle visibility="hidden" cx="80" cy="100" r="20" fill="green" stroke="black" stroke-width="5"> 48 <animate attributeName="visibility" from="hidden" to="visible" begin="0" dur="3" fill="freeze"/> 49 </circle> 50 51 <!-- DODGERBLUE CIRCLES--> 52 <circle display="none" cx="130" cy="30" r="20" fill="dodgerblue" stroke="black" stroke-width="5"> 53 <set attributeName="display" to="inline" begin="2" dur="1" fill="freeze"/> 54 </circle> 55 <circle visibility="hidden" cx="130" cy="100" r="20" fill="dodgerblue" stroke="black" stroke-width="5"> 56 <animate attributeName="visibility" from="hidden" to="visible" begin="1" dur="2" fill="freeze"/> 57 </circle> 58 59 <!-- BLUE CIRCLES--> 60 <g display="none"> 61 <g display="inherit"> 62 <circle display="inline" cx="180" cy="30" r="20" fill="blue" stroke="black" stroke-width="5"/> 63 </g> 64 <animate attributeName="display" from="inline" to="none" begin="3" dur="3" fill="freeze"/> 65 </g> 66 <circle visibility="hidden" cx="180" cy="100" r="20" fill="blue" stroke="black" stroke-width="5"> 67 <animate attributeName="visibility" from="visible" to="hidden" begin="3" dur="3" fill="freeze"/> 68 </circle> 69 70 <!-- YELLOW CIRCLES--> 71 <g display="none"> 72 <g display="inherit"> 73 <circle display="inline" cx="180" cy="30" r="20" fill="yellow" stroke="black" stroke-width="5"/> 74 </g> 75 <animate attributeName="display" from="none" to="inherit" begin="4" dur="3" fill="freeze"/> 76 </g> 77 <circle visibility="hidden" cx="180" cy="100" r="20" fill="yellow" stroke="black" stroke-width="5"> 78 <animate attributeName="visibility" from="hidden" to="visible" begin="4" dur="3" fill="freeze"/> 79 </circle> 80 81 <!-- CYAN CIRCLES--> 82 <g display="none"> 83 <circle cx="230" cy="30" r="20" fill="#00ffff" stroke="black" stroke-width="5"> 84 <animate attributeName="display" begin="0" dur="0.5" keyTimes="0; 0.5; 1" values="inherit; none; inherit" repeatCount="8"/> 85 </circle> 86 <animate attributeName="display" begin="0" dur="2" keyTimes="0; 0.5; 1" values="inline; none; inline" repeatCount="2" fill="freeze"/> 87 </g> 88 <g visibility="hidden"> 89 <circle cx="230" cy="100" r="20" fill="#00ffff" stroke="black" stroke-width="5"> 90 <animate attributeName="visibility" begin="0" dur="0.5" keyTimes="0; 0.5; 1" values="inherit; hidden; inherit" repeatCount="8"/> 91 </circle> 92 <animate attributeName="visibility" begin="0" dur="2" keyTimes="0; 0.5; 1" values="visible; hidden; visible" repeatCount="2" fill="freeze"/> 93 </g> 94 <animate attributeName="display" from="inherit" to="none" begin="6" dur="2"/> 95 </g> 96 97 <text x="385" y="40" font-size="16">display</text> 98 <text x="385" y="150" font-size="18">visibility</text> 99 <text x="5" y="235" font-size="28">Test of display attribute animation.</text> 100 <text x="5" y="265" font-size="18">Circles with same color should be visible at same time.</text> 101 102 <text x="310" y="335" display="none" fill="red">Test running... 103 <set attributeName="display" to="inline" begin="0" dur="8.5"/> 104 </text> 105 </g> 106 <g font-family="SVGFreeSansASCII,sans-serif" font-size="32"> 107 <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text> 108 </g> 109 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/> 110 <!-- comment out this watermark once the test is approved --> 111 <!--<g id="draft-watermark"> 112 <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/> 113 <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240" 114 text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text> 115 </g>--> 116 </svg> 117 </body> 118 </html>