tor-browser

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

cross-shadow-boundary-6-ref.html (320B)


      1 <!doctype html>
      2 <span id="span">Start
      3 <div>
      4  <span id="inner1">inner1</p>
      5  <span id="inner2">inner2</p>
      6 </div>
      7 </span>
      8 <script>
      9  const start = document.getElementById("span").firstChild;
     10  const end = document.getElementById("inner2");
     11  window.getSelection().setBaseAndExtent(start, 3, end.firstChild, 3);
     12 </script>