animate-elem-24-t-novalid.html (6609B)
1 <!DOCTYPE html> 2 <html lang='en'> 3 <head> 4 <title>animate-elem-24-t-manual.svg</title> 5 <meta charset='utf-8'> 6 </head> 7 <body> 8 <h1>Source SVG: animate-elem-24-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-24-t.svg,v $</title> 23 <defs> 24 <font id="MyFont" horiz-adv-x="416"> 25 <font-face font-family="MyFont" units-per-em="1000" panose-1="2 0 0 6 3 0 0 2 0 4" ascent="700" descent="-127" alphabetic="0"/> 26 <missing-glyph horiz-adv-x="233"/> 27 <glyph unicode=" " glyph-name="space" horiz-adv-x="233"/> 28 <glyph unicode="I" glyph-name="I" horiz-adv-x="330" d="M30 700V550H90V150H30V0H300V150H240V550H300V700H30Z"/> 29 <glyph unicode="t" glyph-name="t" horiz-adv-x="417" d="M5 550V410H137V0H280V410H412V550H5Z"/> 30 <glyph unicode="s" glyph-name="s" horiz-adv-x="468" d="M34 550V410V218H291V120H34V0H434V338H177V430H434V550H34Z"/> 31 <glyph unicode="'" glyph-name="quotesingle" horiz-adv-x="198" d="M35 700L73 483H125L163 700H35Z"/> 32 <glyph unicode="a" glyph-name="a" horiz-adv-x="435" d="M71 550L3 0H143L154 119H282L293 0H433L365 550H71ZM168 259L182 410H254L268 259H168Z"/> 33 <glyph unicode="l" glyph-name="l" horiz-adv-x="435" d="M37 0H425V130H180V550H37V410V0Z"/> 34 <glyph unicode="i" glyph-name="i" horiz-adv-x="217" d="M37 550V410V0H180V550H37Z"/> 35 <glyph unicode="v" glyph-name="v" horiz-adv-x="430" d="M73 0H357L430 550H282L235 140H195L148 550H0L19 410L73 0Z"/> 36 <glyph unicode="e" glyph-name="e" horiz-adv-x="442" d="M37 550V410V0H419V130H180V210H299V340H180V420H419V550H37Z"/> 37 <glyph unicode="!" glyph-name="exclam" horiz-adv-x="237" d="M46 145V0H191V145H46ZM58 220H179L194 700H43L58 220Z"/> 38 </font> 39 </defs> 40 <defs> 41 <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F"> 42 <font-face-src> 43 <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/> 44 </font-face-src> 45 </font-face> 46 <font id="MyFont" horiz-adv-x="416"> 47 <font-face font-family="MyFont" units-per-em="1000" panose-1="2 0 0 6 3 0 0 2 0 4" ascent="700" descent="-127" alphabetic="0"/> 48 <missing-glyph horiz-adv-x="233"/> 49 <glyph unicode=" " glyph-name="space" horiz-adv-x="233"/> 50 <glyph unicode="I" glyph-name="I" horiz-adv-x="330" d="M30 700V550H90V150H30V0H300V150H240V550H300V700H30Z"/> 51 <glyph unicode="t" glyph-name="t" horiz-adv-x="417" d="M5 550V410H137V0H280V410H412V550H5Z"/> 52 <glyph unicode="s" glyph-name="s" horiz-adv-x="468" d="M34 550V410V218H291V120H34V0H434V338H177V430H434V550H34Z"/> 53 <glyph unicode="'" glyph-name="quotesingle" horiz-adv-x="198" d="M35 700L73 483H125L163 700H35Z"/> 54 <glyph unicode="a" glyph-name="a" horiz-adv-x="435" d="M71 550L3 0H143L154 119H282L293 0H433L365 550H71ZM168 259L182 410H254L268 259H168Z"/> 55 <glyph unicode="l" glyph-name="l" horiz-adv-x="435" d="M37 0H425V130H180V550H37V410V0Z"/> 56 <glyph unicode="i" glyph-name="i" horiz-adv-x="217" d="M37 550V410V0H180V550H37Z"/> 57 <glyph unicode="v" glyph-name="v" horiz-adv-x="430" d="M73 0H357L430 550H282L235 140H195L148 550H0L19 410L73 0Z"/> 58 <glyph unicode="e" glyph-name="e" horiz-adv-x="442" d="M37 550V410V0H419V130H180V210H299V340H180V420H419V550H37Z"/> 59 <glyph unicode="!" glyph-name="exclam" horiz-adv-x="237" d="M46 145V0H191V145H46ZM58 220H179L194 700H43L58 220Z"/> 60 </font> 61 </defs> 62 <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18"> 63 <g font-size="20"> 64 <text x="70" y="110">Text from 0s to 3s</text> 65 <text x="100" y="185">Text at 6s</text> 66 <text x="100" y="220">Text at 9s</text> 67 </g> 68 <!-- Guide objects to show where the animation elements belong at which time --> 69 <g font-family="MyFont" stroke="none" fill="#bee"> 70 <text transform="translate(50,90) rotate(-30)" font-size="20">It's alive!</text> 71 <text transform="translate(75,180) rotate(-15)" font-size="40">It's alive!</text> 72 <text x="100" y="270" font-size="60">It's alive!</text> 73 </g> 74 <!-- Set up a new user coordinate system so that the text string's 75 origin is at (0,0), allowing rotation and scale relative to 76 the new origin 77 --> 78 <g transform="translate(50,90)"> 79 <!-- The following illustrates the use of the 'animateMotion', 80 and 'animateTransform' elements. At 3 seconds, the text: 81 * continuously moves diagonally across the viewport 82 * rotates from -30 to zero degrees 83 * scales by a factor of three. 84 --> 85 <text id="TextElement" x="0" y="0" font-family="MyFont" font-size="20" fill="#36e" transform="rotate(-30)"> 86 It's alive! 87 <animateMotion path="M 0 0 L 50 180" begin="3s" dur="6s" fill="freeze"/> 88 <animateTransform attributeName="transform" attributeType="XML" type="rotate" from="-30" to="0" begin="3s" dur="6s" fill="freeze"/> 89 <animateTransform attributeName="transform" attributeType="XML" type="scale" from="1" to="3" additive="sum" begin="3s" dur="6s" fill="freeze"/> 90 </text> 91 </g> 92 </g> 93 <g font-family="SVGFreeSansASCII,sans-serif" font-size="32"> 94 <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.8 $</text> 95 </g> 96 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/> 97 <!-- comment out this watermark once the test is approved --> 98 <!--<g id="draft-watermark"> 99 <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/> 100 <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240" 101 text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text> 102 </g>--> 103 </svg> 104 </body> 105 </html>