mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-14 15:37:55 +00:00
19 lines
504 B
HTML
19 lines
504 B
HTML
|
<!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" spellcheck="false" lang="en-US">strangeimpossibleword</textarea>
|
||
|
</body>
|
||
|
</html>
|