layout/reftests/editor/338427-3.html
author arno renevier <arno@renevier.net>
Fri, 12 Aug 2011 15:12:45 -0400
changeset 74356 f3f7872db0aef93fcd565ee96a25fb8c8f02179f
permissions -rw-r--r--
Bug 338427 - Spellchecker should respect the langi attribute; r=ehsan

<!DOCTYPE html>
<html class="reftest-wait">
<script>
function init() {
    var editor = document.getElementById('editor');
    editor.setAttribute('lang', 'testing-XX');
    editor.addEventListener("focus", function() {
        window.setTimeout(function() {
            document.documentElement.className = '';
        }, 0);
    }, false);
    editor.focus();
}
</script>
<body onload="init()">
    <textarea id="editor" lang="en-US">strangeimpossibleword</textarea>
</body>
</html>