tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

animate-elem-33-t-isvalid.html (6730B)


      1 <!DOCTYPE html>
      2 <html lang='en'>
      3 <head>
      4 <title>animate-elem-33-t-manual.svg</title>
      5 <meta charset='utf-8'>
      6 </head>
      7 <body>
      8 <h1>Source SVG: animate-elem-33-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-33-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    <!-- FIRST TEST-->
     32    <g transform="translate(110, 50) scale(0.6)">
     33      <text x="-160" y="-30" font-size="30" stroke="none" fill="#ccc">0</text>
     34      <text x="-50" y="-30" font-size="30" stroke="none" fill="#ccc">0.8-3.2</text>
     35      <text x="140" y="-30" font-size="30" stroke="none" fill="#ccc">4</text>
     36      <g fill="none" stroke="#888" stroke-dasharray="10,6">
     37        <polyline points="-150,0 0,0 150,0"/>
     38      </g>
     39      <g fill="#ccc" stroke="#555">
     40        <circle cx="-150" r="20"/>
     41        <circle r="20"/>
     42        <circle cx="150" r="20"/>
     43      </g>
     44      <circle r="20" fill="rgb(204,0,102)" stroke="#000" stroke-width="3">
     45        <animateMotion dur="4" values="-150 0; 150 0" calcMode="linear" fill="freeze" keyTimes="0; 0.2; 0.4; 0.6; 0.8; 1" keyPoints="0; 0.5; 0.5; 0.5; 0.5; 1"/>
     46      </circle>
     47    </g>
     48    <!-- SECOND TEST-->
     49    <g transform="translate(370, 50) scale(0.6)">
     50      <text x="-160" y="-30" font-size="30" stroke="none" fill="#ccc">0</text>
     51      <text x="-100" y="-30" font-size="30" stroke="none" fill="#ccc">2</text>
     52      <text x="80" y="-30" font-size="30" stroke="none" fill="#ccc">2</text>
     53      <text x="140" y="-30" font-size="30" stroke="none" fill="#ccc">4</text>
     54      <g fill="none" stroke="#888" stroke-dasharray="10,6">
     55        <polyline points="-150,0 -90,0"/>
     56        <polyline points="90,0 150,0"/>
     57      </g>
     58      <g fill="#ccc" stroke="#555">
     59        <circle cx="-150" r="20"/>
     60        <circle cx="-90" r="20"/>
     61        <circle cx="90" r="20"/>
     62        <circle cx="150" r="20"/>
     63      </g>
     64      <circle r="20" fill="rgb(204,0,102)" stroke="#000" stroke-width="3">
     65        <animateMotion dur="4" values="-150 0; 150 0" calcMode="linear" fill="freeze" keyTimes="0; 0.5; 0.5; 0.5; 0.5; 1" keyPoints="0; 0.2; 0.4; 0.6; 0.8; 1"/>
     66      </circle>
     67    </g>
     68    <!-- THIRD TEST-->
     69    <!-- The length of the lines in the polyline (motionpath) are 100,50 and 100.
     70 	 The animated circle starts at the midpoint of one of the "legs" and also pass 
     71 	 this point at time 1.4 since 
     72 	 1.4 = 4*(0.25) + (4*(0.75-0.25))*(1/5).
     73 	 Where 0.25 is the time at keyPoint 1 (2nd) and 1/5 since the control circle is at 
     74 	 1/5 of the distance between keyPoint 1 and 0 (2nd and 3rd).-->
     75    <g transform="translate(110, 180) scale(0.6)">
     76      <text x="-115" y="-30" font-size="30" stroke="none" fill="#ccc">3</text>
     77      <text x="-85" y="-60" font-size="30" stroke="none" fill="#ccc">2.6</text>
     78      <text x="60" y="-60" font-size="30" stroke="none" fill="#ccc">0</text>
     79      <text x="95" y="-30" font-size="30" stroke="none" fill="#ccc">1</text>
     80      <text x="-75" y="20" font-size="30" stroke="none" fill="#ccc">4</text>
     81      <text x="40" y="20" font-size="30" stroke="none" fill="#ccc">1.4</text>
     82      <g fill="none" stroke="#888" stroke-dasharray="10,6">
     83        <polyline points="-105,0 -25,-60 25,-60 105,0"/>
     84      </g>
     85      <g fill="#ccc" stroke="#555">
     86        <circle cx="-105" r="20"/>
     87        <circle cx="-65" cy="-30" r="20"/>
     88        <circle cx="65" cy="-30" r="20"/>
     89        <circle cx="105" r="20"/>
     90      </g>
     91      <circle r="20" fill="rgb(204,0,102)" stroke="#000" stroke-width="3">
     92        <animateMotion dur="4" path="M -105,0 L -25,-60 25,-60 105,0" calcMode="linear" fill="freeze" keyPoints="0.8; 1; 0; 0.2" keyTimes="0; 0.25; 0.75; 1"/>
     93      </circle>
     94    </g>
     95    <!-- FOURTH TEST-->
     96    <g transform="translate(370, 160) scale(0.6)">
     97      <text x="-135" y="-30" font-size="30" stroke="none" fill="#ccc">3</text>
     98      <text x="-95" y="-30" font-size="30" stroke="none" fill="#ccc">2.6</text>
     99      <text x="65" y="-30" font-size="30" stroke="none" fill="#ccc">0</text>
    100      <text x="115" y="-30" font-size="30" stroke="none" fill="#ccc">1</text>
    101      <text x="-85" y="50" font-size="30" stroke="none" fill="#ccc">4</text>
    102      <text x="50" y="50" font-size="30" stroke="none" fill="#ccc">1.4</text>
    103      <g fill="none" stroke="#888" stroke-dasharray="10,6">
    104        <polyline points="-125,0 125,0"/>
    105      </g>
    106      <g fill="#ccc" stroke="#555">
    107        <circle cx="-125" r="20"/>
    108        <circle cx="-75" r="20"/>
    109        <circle cx="75" r="20"/>
    110        <circle cx="125" r="20"/>
    111      </g>
    112      <circle r="20" fill="rgb(204,0,102)" stroke="#000" stroke-width="3">
    113        <animateMotion dur="4" from="-125,0" to="125,0" calcMode="linear" fill="freeze" keyPoints="0.8; 1; 0; 0.2" keyTimes="0; 0.25; 0.75; 1"/>
    114      </circle>
    115    </g>
    116    <text x="5" y="235" font-size="28">Test of keyPoints and keyTimes.</text>
    117    <text x="5" y="265" font-size="18">Number indicates the circle's passing time in seconds.</text>
    118  </g>
    119  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">
    120    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text>
    121  </g>
    122  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
    123  <!-- comment out this watermark once the test is approved -->
    124  <!--<g id="draft-watermark">
    125    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>
    126    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"
    127      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>
    128  </g>-->
    129 </svg>
    130 </body>
    131 </html>