animate-elem-32-t-isvalid.html (8151B)
1 <!DOCTYPE html> 2 <html lang='en'> 3 <head> 4 <title>animate-elem-32-t-manual.svg</title> 5 <meta charset='utf-8'> 6 </head> 7 <body> 8 <h1>Source SVG: animate-elem-32-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-32-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 <!-- ====================================================================== --> 32 <!-- Draw the boxes to contain the shapes and the text labels for the boxes --> 33 <!-- ====================================================================== --> 34 <g fill="black" stroke="none" font-family="Arial" font-size="8"> 35 <text x="5" y="90">Stroked</text> 36 <text x="5" y="195">Unstroked</text> 37 <text x="50" y="135">Zero width rect</text> 38 <text x="130" y="135">Zero height rect</text> 39 <text x="210" y="135">Zero radius circle</text> 40 <text x="315" y="135">Zero x radius ellipse</text> 41 <text x="394" y="135">Zero y radius ellipse</text> 42 <text x="210" y="290">Zero length line</text> 43 </g> 44 45 <g fill="none" stroke="#000000"> 46 <!-- rects --> 47 <rect x="50" y="50" width="35" height="60"/> 48 <rect x="50" y="155" width="35" height="60"/> 49 <rect x="130" y="50" width="35" height="60"/> 50 <rect x="130" y="155" width="35" height="60"/> 51 52 <!-- circles --> 53 <rect x="210" y="50" width="60" height="60"/> 54 <rect x="210" y="155" width="60" height="60"/> 55 56 <!-- ellipses --> 57 <rect x="315" y="50" width="35" height="60"/> 58 <rect x="315" y="155" width="35" height="60"/> 59 <rect x="394" y="50" width="35" height="60"/> 60 <rect x="394" y="155" width="35" height="60"/> 61 62 <!-- line --> 63 <rect x="210" y="260" width="60" height="10"/> 64 </g> 65 66 <!-- ====================================================================== --> 67 <!-- Draw 4 rectangles, two with zero width, two with zero height --> 68 <!-- (stroked and unstroked) --> 69 <!-- ====================================================================== --> 70 <rect id="Zero-width-stroked-rect" fill="#00FF00" stroke="#000000" x="55" y="55" height="50" width="0"> 71 <animate attributeName="width" from="0" to="25" begin="0" dur="3" fill="freeze"/> 72 <animate attributeName="width" from="25" to="0" begin="3" dur="3" fill="freeze"/> 73 </rect> 74 <rect id="Zero-height-stroked-rect" fill="#00FF00" stroke="#000000" x="135" y="55" width="25" height="0"> 75 <animate attributeName="height" from="0" to="50" begin="0" dur="3" fill="freeze"/> 76 <animate attributeName="height" from="50" to="0" begin="3" dur="3" fill="freeze"/> 77 </rect> 78 <rect id="Zero-width-unstroked-rect" fill="#FF8000" stroke="none" x="55" y="160" height="50" width="0"> 79 <animate attributeName="width" from="0" to="25" begin="0" dur="3" fill="freeze"/> 80 <animate attributeName="width" from="25" to="0" begin="3" dur="3" fill="freeze"/> 81 </rect> 82 <rect id="Zero-height-unstroked-rect" fill="#FF8000" stroke="none" x="135" y="160" width="25" height="0"> 83 <animate attributeName="height" from="0" to="50" begin="0" dur="3" fill="freeze"/> 84 <animate attributeName="height" from="50" to="0" begin="3" dur="3" fill="freeze"/> 85 </rect> 86 <!-- ====================================================================== --> 87 <!-- Draw two zero radius circles (stroked and unstroked) --> 88 <!-- ====================================================================== --> 89 <circle id="Zero-radius-stroked-circle" fill="#00FF00" stroke="#000000" cx="240" cy="80" r="0"> 90 <animate attributeName="r" from="0" to="25" begin="0" dur="3" fill="freeze"/> 91 <animate attributeName="r" from="25" to="0" begin="3" dur="3" fill="freeze"/> 92 </circle> 93 <circle id="Zero-radius-unstroked-circle" fill="#FF8000" stroke="none" cx="240" cy="185" r="0"> 94 <animate attributeName="r" from="0" to="25" begin="0" dur="3" fill="freeze"/> 95 <animate attributeName="r" from="25" to="0" begin="3" dur="3" fill="freeze"/> 96 </circle> 97 <!-- ====================================================================== --> 98 <!-- Draw 4 ellipses, two with a zero x radius, two with a zero y radius --> 99 <!-- (stroked and unstroked) --> 100 <!-- ====================================================================== --> 101 <ellipse id="Zero-x-radius-stroked-ellipse" fill="#00FF00" stroke="#0000FF" cx="332" cy="80" rx="0" ry="25"> 102 <animate attributeName="rx" from="0" to="12" begin="0" dur="3" fill="freeze"/> 103 <animate attributeName="rx" from="12" to="0" begin="3" dur="3" fill="freeze"/> 104 </ellipse> 105 <ellipse id="Zero-x-radius-unstroked-ellipse" fill="#FF8000" stroke="none" cx="332" cy="185" rx="0" ry="25"> 106 <animate attributeName="rx" from="0" to="12" begin="0" dur="3" fill="freeze"/> 107 <animate attributeName="rx" from="12" to="0" begin="3" dur="3" fill="freeze"/> 108 </ellipse> 109 <ellipse id="Zero-y-radius-stroked-ellipse" fill="#00FF00" stroke="#0000FF" cx="411" cy="80" rx="12" ry="0"> 110 <animate attributeName="ry" from="0" to="25" begin="0" dur="3" fill="freeze"/> 111 <animate attributeName="ry" from="25" to="0" begin="3" dur="3" fill="freeze"/> 112 </ellipse> 113 <ellipse id="Zero-y-radius-unstroked-ellipse" fill="#FF8000" stroke="none" cx="411" cy="185" rx="12" ry="0"> 114 <animate attributeName="ry" from="0" to="25" begin="0" dur="3" fill="freeze"/> 115 <animate attributeName="ry" from="25" to="0" begin="3" dur="3" fill="freeze"/> 116 </ellipse> 117 <!-- ====================================================================== --> 118 <!-- Draw a zero-length line --> 119 <!-- ====================================================================== --> 120 <line id="Zero-length-line" stroke="#0000FF" x1="240" y1="265" x2="240" y2="265"> 121 <animate attributeName="x1" from="240" to="215" begin="0" dur="3" fill="freeze"/> 122 <animate attributeName="x2" from="240" to="265" begin="0" dur="3" fill="freeze"/> 123 <animate attributeName="x1" from="215" to="240" begin="3" dur="3" fill="freeze"/> 124 <animate attributeName="x2" from="265" to="240" begin="3" dur="3" fill="freeze"/> 125 </line> 126 </g> 127 <g font-family="SVGFreeSansASCII,sans-serif" font-size="32"> 128 <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text> 129 </g> 130 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/> 131 <!-- comment out this watermark once the test is approved --> 132 <!--<g id="draft-watermark"> 133 <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/> 134 <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240" 135 text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text> 136 </g>--> 137 </svg> 138 </body> 139 </html>