Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
michael@0 | 1 | <!doctype html> |
michael@0 | 2 | <html class="reftest-wait"><div contenteditable></div> |
michael@0 | 3 | <script src="/tests/SimpleTest/EventUtils.js"></script> |
michael@0 | 4 | <script> |
michael@0 | 5 | var div = document.body.firstChild; |
michael@0 | 6 | div.focus(); |
michael@0 | 7 | SpecialPowers.Cu.import("resource://gre/modules/AsyncSpellCheckTestHelper.jsm", |
michael@0 | 8 | window); |
michael@0 | 9 | onSpellCheck(div, function() { |
michael@0 | 10 | div.innerHTML = 'something missspelled<br>something elsed#'; |
michael@0 | 11 | onSpellCheck(div, function() { |
michael@0 | 12 | document.documentElement.removeAttribute("class"); |
michael@0 | 13 | }); |
michael@0 | 14 | }); |
michael@0 | 15 | </script> |