mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-09-10 11:54:40 +00:00
16 lines
500 B
HTML
16 lines
500 B
HTML
<!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>
|