mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
21 lines
517 B
HTML
21 lines
517 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() {
|
||
|
setTimeout(function() {
|
||
|
document.documentElement.className = "";
|
||
|
}, 0);
|
||
|
}, false);
|
||
|
editor.focus();
|
||
|
}
|
||
|
</script>
|
||
|
</head>
|
||
|
<body onload="init()">
|
||
|
<div contenteditable spellcheck>This is another misspellored word.</div>
|
||
|
</body>
|
||
|
</html>
|
||
|
|