tor-browser

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

svg-use-symbol-width-print.html (716B)


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