tor-browser

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

bug1423331-1-ref.html (556B)


      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/SimpleTest.js"></script>
      6 <style>
      7 #editable {
      8  outline: 1px solid black;
      9  width: 300px;
     10  height: 100px;
     11 }
     12 #editable::before {
     13  content: "Write here";
     14 }
     15 </style>
     16 <div id="editable" contenteditable></div>
     17 <script>
     18 SimpleTest.waitForFocus(function() {
     19  document.getElementById("editable").focus();
     20  document.documentElement.className = "";
     21 });
     22 </script>
     23 </html>