summaryrefslogtreecommitdiffstats
path: root/layout/base/tests/bug923376.html
blob: 8a12a18bd254a92a8a82d9271e436977cb731cb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!doctype html>
<html class="reftest-wait"><div contenteditable></div>
<script src="/tests/SimpleTest/EventUtils.js"></script>
<script>
var div = document.body.firstChild;
div.focus();
SpecialPowers.Cu.import("resource://gre/modules/AsyncSpellCheckTestHelper.jsm",
                        window);
onSpellCheck(div, function() {
  div.innerHTML = 'something missspelled<br>something elsed#';
  onSpellCheck(div, function() {
    document.documentElement.removeAttribute("class");
  });
});
</script>