mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-28 11:28:38 +00:00
13 lines
355 B
HTML
13 lines
355 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<body>
|
|
<span contenteditable>sakde</span> kreid <span contenteditable>slodv</span>
|
|
<script>
|
|
// Adding focus to the textbox should trigger a spellcheck
|
|
document.querySelector("span").focus();
|
|
document.querySelector("span + span").focus();
|
|
document.querySelector("span + span").blur();
|
|
</script>
|
|
</body>
|
|
</html>
|