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

12 lines
258 B
HTML
Raw Normal View History

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