editor/reftests/spellcheck-textarea-focused-reframe.html
author Aryeh Gregor <ayg@aryeh.name>
Thu, 03 May 2012 10:09:44 +0300
changeset 92964 42c372c2f7493b79f79c58150b5531d23e74ca61
parent 89755 layout/reftests/editor/spellcheck-textarea-focused-reframe.html@fb904233c37cca39e2e36a2ce106dc4bf1356631
child 93836 af802c58e1cff447e0478a7f6fc6b900cd8f44f8
permissions -rw-r--r--
Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron

<!DOCTYPE html>
<html>
<body>

  <textarea id="testBox" onfocus="reframe(this);">blahblahblah</textarea>
  <script type="text/javascript">
    function reframe(textbox) {
      textbox.style.display = "none";
      textbox.style.display = "";
      textbox.clientWidth;
    }
    //Adding focus to the textbox should trigger a spellcheck
    document.getElementById("testBox").focus();
  </script>
  
</body>
</html>