summaryrefslogtreecommitdiffstats
path: root/editor/reftests/spellcheck-input-attr-dynamic.html
blob: 27c8281faf8f5e64f31da8e70ea922dd923fce46 (plain)
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE html>
<html>
<body onload="init()">
    <input class="spell-checked" type="text" value="blahblahblah">
    <script>
      function init() {
        document.querySelector("input").setAttribute("spellcheck", "true");
      }
    </script>
</body>
</html>