layout/base/tests/bug923376.html

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:ca6da61dedc9
1 <!doctype html>
2 <html class="reftest-wait"><div contenteditable></div>
3 <script src="/tests/SimpleTest/EventUtils.js"></script>
4 <script>
5 var div = document.body.firstChild;
6 div.focus();
7 SpecialPowers.Cu.import("resource://gre/modules/AsyncSpellCheckTestHelper.jsm",
8 window);
9 onSpellCheck(div, function() {
10 div.innerHTML = 'something missspelled<br>something elsed#';
11 onSpellCheck(div, function() {
12 document.documentElement.removeAttribute("class");
13 });
14 });
15 </script>

mercurial