tor-browser

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

inserthtml-indent-delete-when-input-element-in-editing-host-has-focus.html (442B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>Test for bug 636074 of Mozilla</title>
      6 <script>
      7 function boom()
      8 {
      9  document.getElementById("i").focus();
     10  document.documentElement.contentEditable = "true";
     11  document.execCommand("inserthtml", false, "<table>");
     12  document.execCommand("indent", false, null);
     13  document.execCommand("delete", false, null);
     14 }
     15 </script>
     16 </head>
     17 <body onload="boom();"><input id="i"></body>
     18 </html>