editor/reftests/674212-spellcheck.html
author Mike Hommey <mh+mozilla@glandium.org>
Thu, 07 Nov 2013 10:37:44 +0900
changeset 167450 6e80754f7257de8f875e8f490b57c6d66276936c
parent 97457 42c372c2f7493b79f79c58150b5531d23e74ca61
child 376939 7b434711753b98a87603453caaa0945791ffe12b
permissions -rw-r--r--
Bug 921816 - Handle idls in --with-libxul-sdk builds. r=gps, a=lsblakk

<!DOCTYPE html>
<html lang="en-US" class="reftest-wait">
<head>
  <script type="text/javascript">
    function init() {
      var editor = document.querySelector("div[contenteditable]");
      editor.addEventListener("focus", function() {
        editor.textContent = "This is another misspellored word.";
        setTimeout(function() {
          document.documentElement.className = "";
        }, 0);
      }, false);
      editor.focus();
    }
  </script>
</head>
<body onload="init()">
  <div contenteditable spellcheck>This is a misspellored word.</div>
</body>
</html>