зеркало из https://github.com/mozilla/gecko-dev.git
12 строки
360 B
HTML
12 строки
360 B
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<body>
|
||
|
<div contenteditable spellcheck="true">blahblahblah</div>
|
||
|
<script type="text/javascript">
|
||
|
var box = document.getElementsByTagName("div")[0];
|
||
|
box.focus(); //Bring the textbox into focus, triggering a spellcheck
|
||
|
box.blur(); //Blur in order to make things similar to other tests otherwise
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|