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