editor/reftests/338427-3.html
author Brad Werth <bwerth@mozilla.com>
Tue, 21 Feb 2017 14:05:24 -0800
changeset 344687 da2bee86bcb2716f89e6a5d4345f73f17bb4f0ee
parent 329662 7b434711753b98a87603453caaa0945791ffe12b
permissions -rw-r--r--
Bug 1290218 Part 9: Generalize stylesheet Loader to cache Servo sheets in the same way that it caches Gecko sheets. r=heycam MozReview-Commit-ID: BUEvgos46By

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