Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(163)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/label/label-contains-other-interactive-content.html

Issue 2536993002: Remove support for the keygen tag (Closed)
Patch Set: Rebased Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <body id="body"> 2 <body id="body">
3 <script src="../../../resources/js-test.js"></script> 3 <script src="../../../resources/js-test.js"></script>
4 <script src="../resources/common.js"></script> 4 <script src="../resources/common.js"></script>
5 <script> 5 <script>
6 var interactiveElements1 = ['button', 'details', 'embed', 'iframe', 'keygen', 'l abel', 'select', 'textarea']; 6 var interactiveElements1 = ['button', 'details', 'embed', 'iframe', 'label', 'se lect', 'textarea'];
7 var interactiveElements2 = [ 7 var interactiveElements2 = [
8 ['a', 'href'], 8 ['a', 'href'],
9 ['audio', 'controls'], 9 ['audio', 'controls'],
10 ['video', 'controls'], 10 ['video', 'controls'],
11 ['img', 'usemap'], 11 ['img', 'usemap'],
12 ['object', 'usemap'], 12 ['object', 'usemap'],
13 ]; 13 ];
14 14
15 var label = document.createElement('label'); 15 var label = document.createElement('label');
16 document.body.appendChild(label); 16 document.body.appendChild(label);
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 clickElement(element); 69 clickElement(element);
70 debug('input'); 70 debug('input');
71 shouldNotBe('document.activeElement.id', '"control"'); 71 shouldNotBe('document.activeElement.id', '"control"');
72 document.activeElement.blur(); 72 document.activeElement.blur();
73 73
74 // Note: It's impossible to click on input[type=hidden]. 74 // Note: It's impossible to click on input[type=hidden].
75 75
76 label.remove(); 76 label.remove();
77 </script> 77 </script>
78 </body> 78 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698