<!doctype html> <html class="reftest-wait"><div contenteditable>something missspelled<br>something elsed#</div> <script src="/tests/SimpleTest/EventUtils.js"></script> <script> document.body.firstChild.focus(); SpecialPowers.Cu.import("resource://gre/modules/AsyncSpellCheckTestHelper.jsm", window); onSpellCheck(document.body.firstChild, function() { document.documentElement.removeAttribute("class"); }); </script>