gecko-dev/editor/reftests/spellcheck-input-attr-dynam...

12 строки
261 B
HTML

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