tor-browser

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

1517385.html (572B)


      1 <!DOCTYPE html>
      2 <html>
      3  <meta charset="utf-8">
      4  <title>Bug 1517385: Test AccessibleCaret doesn't occupied space when its appearance is Appearance::None.</title>
      5 
      6  <style>
      7  #content {
      8    position: absolute;
      9    font-size: 20px;
     10    width: 20px;
     11    top: 0;
     12    right: 0;
     13  }
     14  </style>
     15 
     16  <script>
     17  function runTest() {
     18    let sel = window.getSelection();
     19    let content = document.getElementById("content");
     20    sel.selectAllChildren(content);
     21    sel.removeAllRanges();
     22  }
     23  </script>
     24 
     25  <body onload="runTest()">
     26    <div id="content">A</div>
     27  </body>
     28 </html>