tor-browser

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

bug1423331-2-ref.html (603B)


      1 <!doctype html>
      2 <html class="reftest-wait">
      3 <meta charset="utf-8">
      4 <title>Test reference for bug 1423331: Contenteditable insertion with pseudo-elements</title>
      5 <script src="/tests/SimpleTest/EventUtils.js"></script>
      6 <script src="/tests/SimpleTest/SimpleTest.js"></script>
      7 <style>
      8 #editable {
      9  outline: 1px solid black;
     10  width: 300px;
     11  height: 100px;
     12 }
     13 </style>
     14 <div id="editable" contenteditable></div>
     15 <script>
     16 SimpleTest.waitForFocus(function() {
     17  let div = document.getElementById("editable");
     18  div.focus();
     19  sendString("xxx");
     20  document.documentElement.className = "";
     21 });
     22 </script>
     23 </html>