tor-browser

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

inserttext-to-delete-flex-item-boundary-whose-display-contents.html (486B)


      1 <!doctype html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <script>
      6 "use strict";
      7 
      8 addEventListener("load", () => {
      9  document.designMode = "on";
     10  getSelection().setBaseAndExtent(
     11    document.querySelector("b"),
     12    1,
     13    document.querySelector("span"),
     14    1
     15  );
     16  document.execCommand("insertText", false, "A");
     17 }, {once: true});
     18 </script>
     19 </head>
     20 <body>
     21 <div style="display:inline-grid">
     22  <b>
     23  </b>
     24  <i style="display:contents">
     25    <span>
     26    </span>
     27  </i>
     28 </div>
     29 </body>
     30 </html>