OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
tkent
2015/09/25 00:44:45
This is a pixel test unnecessarily.
Please include
Oliver Chang
2015/09/25 04:06:03
Sorry, wasn't too familiar with these layout tests
| |
2 <body> | |
3 | |
4 <label><input type=checkbox></label> | |
5 <script> | |
6 var label = document.querySelector('label'); | |
7 var checkbox = document.querySelector('input'); | |
8 checkbox.addEventListener('change', function() { | |
9 this.removeAttribute('type'); | |
10 }); | |
11 label.click(); | |
12 </script> | |
13 </body> | |
OLD | NEW |