gecko-dev/editor/reftests/spellcheck-textarea-focused...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 строки
482 B
HTML
Исходник Обычный вид История

<!DOCTYPE html>
<html>
<body>
<textarea id="testBox" onfocus="reframe(this);">blahblahblah</textarea>
<script type="text/javascript">
function reframe(textbox) {
textbox.style.display = "none";
textbox.style.display = "";
textbox.clientWidth;
}
//Adding focus to the textbox should trigger a spellcheck
document.getElementById("testBox").focus();
document.getElementById("testBox").blur();
</script>
</body>
</html>