editor/reftests/674212-spellcheck.html
author Geoff Brown <gbrown@mozilla.com>
Tue, 18 Dec 2012 22:18:03 -0700
changeset 125609 f9e5c189ae6bb96424ee9a243c5238c747951810
parent 97003 42c372c2f7493b79f79c58150b5531d23e74ca61
child 374655 7b434711753b98a87603453caaa0945791ffe12b
permissions -rw-r--r--
Bug 817235 - Make xpcshell tests work with sutAgent; r=jmaher

<!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>