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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/dom/domstring-attribute-reflection.html

Issue 2536993002: Remove support for the keygen tag (Closed)
Patch Set: Rebased Created 3 years, 12 months 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 <html> 2 <html>
3 <body> 3 <body>
4 <script src="../../resources/js-test.js"></script> 4 <script src="../../resources/js-test.js"></script>
5 <script> 5 <script>
6 var element; 6 var element;
7 7
8 function testDOMStringReflection(elementName, contentAttributeName, idlAttribute Name, treatNullAsEmptyString) { 8 function testDOMStringReflection(elementName, contentAttributeName, idlAttribute Name, treatNullAsEmptyString) {
9 idlAttributeName = idlAttributeName || contentAttributeName; 9 idlAttributeName = idlAttributeName || contentAttributeName;
10 element = document.createElement(elementName); 10 element = document.createElement(elementName);
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 shouldBeEqualToString('element.getAttribute("' + contentAttributeName + '")' , '456'); 51 shouldBeEqualToString('element.getAttribute("' + contentAttributeName + '")' , '456');
52 52
53 debug('\n'); 53 debug('\n');
54 } 54 }
55 55
56 testDOMStringReflection('button', 'name'); 56 testDOMStringReflection('button', 'name');
57 testDOMStringReflection('fieldset', 'name'); 57 testDOMStringReflection('fieldset', 'name');
58 testDOMStringReflection('form', 'name'); 58 testDOMStringReflection('form', 'name');
59 testDOMStringReflection('input', 'name'); 59 testDOMStringReflection('input', 'name');
60 testDOMStringReflection('input', 'step'); 60 testDOMStringReflection('input', 'step');
61 testDOMStringReflection('keygen', 'name');
62 testDOMStringReflection('menu', 'type'); 61 testDOMStringReflection('menu', 'type');
63 testDOMStringReflection('menu', 'label'); 62 testDOMStringReflection('menu', 'label');
64 testDOMStringReflection('menuitem', 'label'); 63 testDOMStringReflection('menuitem', 'label');
65 testDOMStringReflection('object', 'name'); 64 testDOMStringReflection('object', 'name');
66 testDOMStringReflection('output', 'name'); 65 testDOMStringReflection('output', 'name');
67 testDOMStringReflection('select', 'name'); 66 testDOMStringReflection('select', 'name');
68 testDOMStringReflection('textarea', 'name'); 67 testDOMStringReflection('textarea', 'name');
69 68
70 // [TreatNullAs=EmptyString] 69 // [TreatNullAs=EmptyString]
71 testDOMStringReflection('frame', 'marginheight', 'marginHeight', true); 70 testDOMStringReflection('frame', 'marginheight', 'marginHeight', true);
(...skipping 14 matching lines...) Expand all
86 testDOMStringReflection('td', 'bgcolor', 'bgColor', true); 85 testDOMStringReflection('td', 'bgcolor', 'bgColor', true);
87 testDOMStringReflection('th', 'bgcolor', 'bgColor', true); 86 testDOMStringReflection('th', 'bgcolor', 'bgColor', true);
88 testDOMStringReflection('tr', 'bgcolor', 'bgColor', true); 87 testDOMStringReflection('tr', 'bgcolor', 'bgColor', true);
89 88
90 89
91 // Add more DOMString attributes! 90 // Add more DOMString attributes!
92 91
93 </script> 92 </script>
94 </body> 93 </body>
95 </html> 94 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698