Revision 9c3dd5dd9c1777f3b956d4044e4b944ef749e2f5 authored by Ben Hearsum on 29 October 2012, 18:16:28 UTC, committed by Ben Hearsum on 29 October 2012, 18:16:28 UTC
1 parent 02d10a0
Raw File
674212-spellcheck-ref.html
<!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() {
        setTimeout(function() {
          document.documentElement.className = "";
        }, 0);
      }, false);
      editor.focus();
    }
  </script>
</head>
<body onload="init()">
  <div contenteditable spellcheck>This is another misspellored word.</div>
</body>
</html>

back to top