summaryrefslogtreecommitdiffstats
path: root/editor/reftests/spellcheck-contenteditable-focused.html
blob: 80866739974d2ecdd2b919a19ec732f04e8d6b82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<!DOCTYPE html>
<html>
<body>

  <div contenteditable id="testBox">blahblahblah</div>
  <script type="text/javascript">
    //Adding focus to the textbox should trigger a spellcheck
    document.getElementById("testBox").focus();
    document.getElementById("testBox").blur();
  </script>
  
</body>
</html>