animate-elem-85-t-isvalid.html (4148B)
1 <!DOCTYPE html> 2 <html lang='en'> 3 <head> 4 <title>animate-elem-85-t-manual.svg</title> 5 <meta charset='utf-8'> 6 </head> 7 <body> 8 <h1>Source SVG: animate-elem-85-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-85-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 <g id="subtest_1"> 32 <rect fill="#f00" x="30" y="50" height="100" width="90"> 33 <!-- basic test from two numeric hex values --> 34 <animateColor attributeName="fill" from="#000000" to="#008000" begin="0s" dur="5s" fill="freeze"/> 35 </rect> 36 <rect fill="#f00" x="140" y="50" height="100" width="90"> 37 <!-- same, check color keywords accepted in animations --> 38 <animateColor attributeName="fill" from="#000000" to="green" begin="0s" dur="5s" fill="freeze"/> 39 </rect> 40 <rect color="green" fill="#f00" x="250" y="50" height="100" width="90"> 41 <!-- same, static value of currentColor in 'to' --> 42 <animateColor attributeName="fill" from="#000000" to="currentColor" begin="0s" dur="5s" fill="freeze"/> 43 </rect> 44 <rect color="black" fill="#f00" x="360" y="50" height="100" width="90"> 45 <!-- same, static value of currentColor in 'from' --> 46 <animateColor attributeName="fill" to="#008000" from="currentColor" begin="0s" dur="5s" fill="freeze"/> 47 </rect> 48 </g> 49 <g id="subtest_2"> 50 <rect color="black" fill="blue" x="100" y="180" height="60" width="280"> 51 <animateColor attributeName="color" to="cyan" from="blue" begin="5s" dur="5s" fill="freeze"/> 52 <animateColor attributeName="fill" from="#008000" to="currentColor" begin="5s" dur="5s" fill="freeze"/> 53 </rect> 54 <rect color="black" fill="blue" x="100" y="245" height="60" width="280"> 55 <animateColor attributeName="fill" from="#008000" to="currentColor" begin="5s" dur="5s" fill="freeze"/> 56 <animateColor attributeName="color" to="cyan" from="blue" begin="5s" dur="5s" fill="freeze"/> 57 </rect> 58 <!-- 59 color fill 60 4s #000000 #0000ff 61 5s #0000ff #008000 62 7.5s #0080ff #008080 63 10s #00ffff #00ffff 64 --> 65 <circle r="30" cx="100" cy="240" fill="#0000ff"/> 66 <circle r="30" cx="193" cy="240" fill="#008000"/> 67 <circle r="30" cx="287" cy="240" fill="#008080"/> 68 <circle r="30" cx="380" cy="240" fill="#00ffff"/> 69 </g> 70 </g> 71 <g font-family="SVGFreeSansASCII,sans-serif" font-size="32"> 72 <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.8 $</text> 73 </g> 74 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/> 75 <!-- comment out this watermark once the test is approved --> 76 <g id="draft-watermark"> 77 <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/> 78 <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240" 79 text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text> 80 </g> 81 </svg> 82 </body> 83 </html>