animate-elem-22-b-isvalid.html (3441B)
1 <!DOCTYPE html> 2 <html lang='en'> 3 <head> 4 <title>animate-elem-22-b-manual.svg</title> 5 <meta charset='utf-8'> 6 </head> 7 <body> 8 <h1>Source SVG: animate-elem-22-b-manual.svg</h1> 9 <svg version="1.1" baseProfile="basic" 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-22-b.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 <!-- Guide objects to show where the animation elements belong at which time --> 32 <g font-family="Verdana" font-size="12"> 33 <text x="200" y="131">Yellow rect at time 0s</text> 34 <rect x="200" y="135" width="50" height="50" fill="none" stroke="black"/> 35 <text x="141.6666" y="102.6666">Yellow rect at time 3s</text> 36 <rect x="141.6666" y="106.6666" width="166.6666" height="111.6666" fill="none" stroke="rgb(0,0,255)"/> 37 <text x="25" y="46">Yellow rect at time 9s</text> 38 <rect x="25" y="50" width="400" height="240" fill="none" stroke="rgb(0,0,255)"/> 39 </g> 40 <rect id="RectElement" x="200" y="135" width="50" height="50" fill="rgb(255,255,0)" opacity=".5"> 41 <animate attributeName="x" attributeType="XML" begin="0s" dur="9s" fill="freeze" from="200" to="25"/> 42 <animate attributeName="y" attributeType="XML" begin="0s" dur="9s" fill="freeze" from="135" to="50"/> 43 <animate attributeName="width" attributeType="XML" begin="0s" dur="9s" fill="freeze" from="50" to="400"/> 44 <animate attributeName="height" attributeType="XML" begin="0s" dur="9s" fill="freeze" from="50" to="240"/> 45 </rect> 46 <!-- Set up a new user coordinate system so that the text string's 47 origin is at (0,0), allowing rotation and scale relative to 48 the new origin 49 --> 50 </g> 51 <g font-family="SVGFreeSansASCII,sans-serif" font-size="32"> 52 <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text> 53 </g> 54 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/> 55 <!-- comment out this watermark once the test is approved --> 56 <!--<g id="draft-watermark"> 57 <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/> 58 <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240" 59 text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text> 60 </g>--> 61 </svg> 62 </body> 63 </html>