123456789101112131415 |
- <script src="../include.js"></script>
- <script>
- test(() => {
- var button = document.createElement('button');
- println(button.type);
- button.setAttribute("type", "button");
- println(button.type);
- button.setAttribute("type", "BUTTON");
- println(button.type);
- button.setAttribute("type", "invalid");
- println(button.type);
- button.removeAttribute("type");
- println(button.type);
- });
- </script>
|