summaryrefslogtreecommitdiffstats
path: root/layout/base/tests/bug923376.html
blob: 89e920394ff7fad30af7eee908e8d5b0c16616f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!doctype html>
<html class="reftest-wait"><div contenteditable></div>
<script src="/tests/SimpleTest/EventUtils.js"></script>
<script>
var div = document.body.firstChild;
div.focus();
var { maybeOnSpellCheck } = SpecialPowers.ChromeUtils.importESModule(
  "resource://testing-common/AsyncSpellCheckTestHelper.sys.mjs"
);
maybeOnSpellCheck(div, function() {
  div.innerHTML = 'something missspelled<br>something elsed#';
  maybeOnSpellCheck(div, function() {
    document.documentElement.removeAttribute("class");
  });
});
</script>