OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <body id="body"> | 2 <body id="body"> |
3 <script src="../../js/resources/js-test-pre.js"></script> | 3 <script src="../../js/resources/js-test-pre.js"></script> |
4 <script src="../resources/common.js"></script> | 4 <script src="../resources/common.js"></script> |
5 <script> | 5 <script> |
6 var interactiveElements1 = ['a', 'button', 'details', 'embed', 'iframe', 'keygen
', 'label', 'select', 'textarea']; | 6 var interactiveElements1 = ['a', 'button', 'details', 'embed', 'iframe', 'keygen
', 'label', 'select', 'textarea']; |
7 var interactiveElements2 = [ | 7 var interactiveElements2 = [ |
8 ['audio', 'controls'], | 8 ['audio', 'controls'], |
9 ['video', 'controls'], | 9 ['video', 'controls'], |
10 ['img', 'usemap'], | 10 ['img', 'usemap'], |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 label.appendChild(element); | 64 label.appendChild(element); |
65 clickElement(element); | 65 clickElement(element); |
66 debug('input'); | 66 debug('input'); |
67 shouldNotBe('document.activeElement.id', '"control"'); | 67 shouldNotBe('document.activeElement.id', '"control"'); |
68 document.activeElement.blur(); | 68 document.activeElement.blur(); |
69 | 69 |
70 // Note: It's impossible to click on input[type=hidden]. | 70 // Note: It's impossible to click on input[type=hidden]. |
71 | 71 |
72 label.remove(); | 72 label.remove(); |
73 </script> | 73 </script> |
74 <script src="../../js/resources/js-test-post.js"></script> | |
75 </body> | 74 </body> |
OLD | NEW |