tor-browser

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

bug1634543-1.html (678B)


      1 <!doctype html>
      2 <html class="reftest-wait">
      3 <title>Caret is correctly position for block whose only child is an abspos pseudo</title>
      4 <script src="/tests/SimpleTest/SimpleTest.js"></script>
      5 <style>
      6  div:focus {
      7    outline: 3px solid blue;
      8  }
      9  div::before {
     10    content: "";
     11    /* This is the point of the test */
     12    position: absolute;
     13  }
     14 </style>
     15 <div contenteditable="true" spellcheck="false"></div>
     16 <script>
     17 SimpleTest.waitForFocus(function() {
     18  document.querySelector('[contenteditable="true"]').focus();
     19  requestAnimationFrame(function() {
     20    requestAnimationFrame(function() {
     21      document.documentElement.removeAttribute("class");
     22    });
     23  });
     24 });
     25 </script>