tor-browser

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

selection-modify-per-word-in-table-header-group.html (442B)


      1 <!doctype html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <style>
      6 dialog {
      7  display: table-header-group;
      8  translate: -1px 0px 0px;
      9  position: sticky;
     10 }
     11 </style>
     12 <script>
     13 addEventListener("DOMContentLoaded", () => {
     14  window.find("1");
     15  getSelection().modify("move", "left", "word");
     16 }, {once: true});
     17 </script>
     18 </head>
     19 <body>
     20 <dialog>
     21 <span style="position: fixed">1</span>
     22 <table dir="rtl"></table>
     23 <video>
     24 </video>
     25 </dialog>
     26 </body>
     27 </html>