tor-browser

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

svg-use-symbol-width-2-print.html (580B)


      1 <!doctype html>
      2 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1853727">
      3 <link rel="match" href="svg-use-symbol-width-print-ref.html">
      4 <style>
      5 body { margin: 0 }
      6 </style>
      7 <!-- Should see a blue square inside the top left quarter of a purple square -->
      8 <svg width=200 height=200 viewbox="0 0 200 200">
      9  <defs>
     10    <symbol id="r" viewBox="0 0 200 200">
     11      <rect fill="blue" style="width:100px;height:100px" />
     12    </symbol>
     13  </defs>
     14  <rect fill="purple" style="width:100px;height:100px" />
     15  <use href="#r" width="100" height="100" x="0" y="0" />
     16 </svg>