mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
18 lines
456 B
HTML
18 lines
456 B
HTML
|
<!DOCTYPE html>
|
||
|
<html class="reftest-wait">
|
||
|
<script>
|
||
|
function init() {
|
||
|
var editor = document.getElementById('editor');
|
||
|
editor.addEventListener("focus", function() {
|
||
|
window.setTimeout(function() {
|
||
|
document.documentElement.className = '';
|
||
|
}, 0);
|
||
|
}, false);
|
||
|
editor.focus();
|
||
|
}
|
||
|
</script>
|
||
|
<body onload="init()">
|
||
|
<div id="editor" lang="testing-XX" contenteditable="true">strangeimpossibleword</div>
|
||
|
</body>
|
||
|
</html>
|