gecko-dev/editor/reftests/spellcheck-contenteditable-attr-dynamic-override.html

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>