зеркало из https://github.com/mozilla/gecko-dev.git
21 строка
570 B
HTML
21 строка
570 B
HTML
<!DOCTYPE html>
|
|
<html lang="en-US" class="reftest-wait">
|
|
<head>
|
|
<script type="text/javascript">
|
|
function init() {
|
|
var editor = document.querySelector("div[contenteditable]");
|
|
editor.addEventListener("focus", function() {
|
|
editor.textContent = "This is another misspellored word.";
|
|
setTimeout(function() {
|
|
document.documentElement.className = "";
|
|
}, 0);
|
|
});
|
|
editor.focus();
|
|
}
|
|
</script>
|
|
</head>
|
|
<body onload="init()">
|
|
<div contenteditable spellcheck>This is a misspellored word.</div>
|
|
</body>
|
|
</html>
|