tor-browser

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

bug1634543-4.html (613B)


      1 <!doctype html>
      2 <html class="reftest-wait">
      3 <title>Caret is correctly position for block whose only child is an empty 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  }
     12 </style>
     13 <div contenteditable="true" spellcheck="false"></div>
     14 <script>
     15 SimpleTest.waitForFocus(function() {
     16  document.querySelector('[contenteditable="true"]').focus();
     17  requestAnimationFrame(function() {
     18    requestAnimationFrame(function() {
     19      document.documentElement.removeAttribute("class");
     20    });
     21  });
     22 });
     23 </script>