summaryrefslogtreecommitdiffstats
path: root/editor/reftests/spellcheck-textarea-ref2.html
blob: 6bd588a23517db364c04c2be97a0d4c480701545 (plain)
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE html>
<html>
<body>
  <textarea spellcheck="true" style="padding:2px;">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>