summaryrefslogtreecommitdiffstats
path: root/editor/reftests/spellcheck-textarea-ref.html
blob: 91ecd1d8e977c8298a8e49106d9e1db9a39f152e (plain)
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE html>
<html>
<body>
  <textarea spellcheck="true">blahblahblah</textarea>
  <script type="text/javascript">
    var box = document.getElementsByTagName("textarea")[0];
    box.focus(); //Bring the textbox into focus, triggering a spellcheck
    box.blur(); //Blur in order to make things similar to other tests otherwise
  </script>
</body>
</html>