tor-browser

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

inserthorizontalrule-with-range-ending-in-collapsible-spaces-before-comment.html (431B)


      1 <!doctype html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <script>
      6 document.addEventListener("DOMContentLoaded", () => {
      7  getSelection().setBaseAndExtent(
      8    document.querySelector("b"), 0,
      9    document.querySelector("i").firstChild, 2
     10  );
     11  document.documentElement.contentEditable = true;
     12  document.execCommand("insertHorizontalRule");
     13 });
     14 </script>
     15 </head>
     16 <body>
     17 <div>
     18 <b>
     19 </b>
     20 <i>X
     21 </i>
     22 <!-- COMMENT -->
     23 </div>
     24 </body>
     25 </html>