tor-browser

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

svg-use-symbol-animateTransform-print.html (737B)


      1 <!doctype html>
      2 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1843883">
      3 <link rel="match" href="svg-use-symbol-animateTransform-print-ref.html">
      4 <html>
      5 <head>
      6 <style>
      7 body { margin: 0 }
      8 </style>
      9 </head>
     10 <body>
     11 <!-- Should see a blue square inside the top left quarter of a purple square -->
     12 <svg width=200 height=200 viewBox="0 0 200 200">
     13  <defs>
     14    <symbol id="r" viewBox="0 0 200 200">
     15      <rect fill="blue" x="-40" width=100 height=100>
     16        <animateTransform attributeName="transform" dur="1s" fill="freeze" type="translate" from="40,0" to="40,0" />
     17      </rect>
     18    </symbol>
     19  </defs>
     20  <rect fill="purple" width=100 height=100 />
     21  <use href="#r" width="100" height="100" />
     22 </svg>
     23 </body>
     24 </html>