tor-browser

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

bug1634543-3.html (587B)


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