Mypal/editor/reftests/spellcheck-contenteditable-attr-dynamic-override.html
2019-03-11 13:26:37 +03:00

12 lines
258 B
HTML

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