layout/base/tests/bug923376.html

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     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