tor-browser

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

fragid-shadow-5.html (392B)


      1 <!doctype html>
      2 <div id="host"></div>
      3 <script>
      4  // Test absolute URIs inside shadow trees, which behave the same way as just the fragment id.
      5  host.attachShadow({ mode: "open" }).innerHTML = `
      6    <svg width="100" height="100">
      7      <defs>
      8        <rect fill="lime" id="rect-5" width="100" height="100">
      9      </defs>
     10      <use href="${location.href}#rect-5" />
     11    </svg>
     12  `;
     13 </script>