editor/reftests/338427-3.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/editor/reftests/338427-3.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,18 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html class="reftest-wait">
     1.6 +<script>
     1.7 +function init() {
     1.8 +    var editor = document.getElementById('editor');
     1.9 +    editor.setAttribute('lang', 'testing-XX');
    1.10 +    editor.addEventListener("focus", function() {
    1.11 +        window.setTimeout(function() {
    1.12 +            document.documentElement.className = '';
    1.13 +        }, 0);
    1.14 +    }, false);
    1.15 +    editor.focus();
    1.16 +}
    1.17 +</script>
    1.18 +<body onload="init()">
    1.19 +    <textarea id="editor" lang="en-US">strangeimpossibleword</textarea>
    1.20 +</body>
    1.21 +</html>

mercurial