2011-08-12 23:12:45 +04:00
|
|
|
<!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);
|
2017-01-17 13:50:25 +03:00
|
|
|
});
|
2011-08-12 23:12:45 +04:00
|
|
|
editor.focus();
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
<body onload="init()">
|
2015-09-08 10:13:00 +03:00
|
|
|
<!-- invalid language will default to en-US -->
|
|
|
|
<div id="editor" lang="testing-XX" contenteditable="true">good possible word</div>
|
2011-08-12 23:12:45 +04:00
|
|
|
</body>
|
|
|
|
</html>
|