tor-browser

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

delete-from-ruby-at-start-of-button.html (461B)


      1 <!doctype html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <style>
      6 *:last-child {
      7  white-space: pre-wrap;
      8 }
      9 </style>
     10 <script>
     11 addEventListener("DOMContentLoaded", () => {
     12  getSelection().collapse(document.querySelector("ruby"));
     13  document.designMode = "on";
     14  document.execCommand("delete");
     15 });
     16 </script>
     17 </head>
     18 <body>
     19 <label contenteditable="true"></label>
     20 <bdi style="white-space: nowrap">
     21 <button>
     22 <kbd>
     23 <ruby>
     24 </ruby>
     25 </kbd>
     26 </button>
     27 </bdi>
     28 </body>
     29 </html>