summaryrefslogtreecommitdiffstats
path: root/editor/reftests/spellcheck-contenteditable-disabled-partial-ref.html
blob: 30fe7a6bf9f647a02f13fcc1c5dd6d94fb066338 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<!DOCTYPE html>
<html>
<body>
  <span contenteditable>sakde</span> kreid <span contenteditable>slodv</span>
  <script>
    // Adding focus to the textbox should trigger a spellcheck
    document.querySelector("span").focus();
    document.querySelector("span + span").focus();
    document.querySelector("span + span").blur();
  </script>
</body>
</html>