tenfourfox/editor/reftests/spellcheck-input-attr-dynamic-override.html

12 lines
283 B
HTML
Raw Normal View History

2017-04-19 07:56:45 +00:00
<!DOCTYPE html>
<html>
<body onload="init()">
<input class="spell-checked" type="text" spellcheck="false" value="blahblahblah">
<script>
function init() {
document.querySelector("input").setAttribute("spellcheck", "true");
}
</script>
</body>
</html>