gecko-dev/editor/reftests/spellcheck-input-attr-dynamic.html

12 lines
264 B
HTML

<!DOCTYPE html>
<html>
<body onload="init()">
<input class="spell-checked" type="text" value="blahblahblah">
<script>
function init() {
document.querySelector("input").setAttribute("spellcheck", "true");
}
</script>
</body>
</html>