summaryrefslogtreecommitdiff
path: root/editor/reftests/spellcheck-textarea-attr-dynamic-override.html
blob: 96e95660818e22ca2a102c9047aae185d03ed7a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE html>
<html>
<body onload="init()">
    <textarea spellcheck="true">blahblahblah</textarea>
    <script>
      function init() {
        document.querySelector("textarea").setAttribute("spellcheck", "false");
      }
    </script>
</body>
</html>