summaryrefslogtreecommitdiffstats
path: root/editor/reftests/spellcheck-contenteditable-ref.html
blob: d28dbcf96b6c3f5bb2d16cbf4f29dba29a278999 (plain)
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE html>
<html>
<body>
  <div contenteditable spellcheck="true">blahblahblah</div>
  <script type="text/javascript">
    var box = document.getElementsByTagName("div")[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>