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

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

Issue 2372593005: Restrict type attribute on menuitem (Closed)
Patch Set: Use ReflectOnly etc. Created 4 years, 1 month 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/dom/domstring-attribute-reflection-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
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'); 61 testDOMStringReflection('keygen', 'name');
62 testDOMStringReflection('menu', 'type'); 62 testDOMStringReflection('menu', 'type');
63 testDOMStringReflection('menu', 'label'); 63 testDOMStringReflection('menu', 'label');
64 testDOMStringReflection('menuitem', 'type');
65 testDOMStringReflection('menuitem', 'label'); 64 testDOMStringReflection('menuitem', 'label');
66 testDOMStringReflection('object', 'name'); 65 testDOMStringReflection('object', 'name');
67 testDOMStringReflection('output', 'name'); 66 testDOMStringReflection('output', 'name');
68 testDOMStringReflection('select', 'name'); 67 testDOMStringReflection('select', 'name');
69 testDOMStringReflection('textarea', 'name'); 68 testDOMStringReflection('textarea', 'name');
70 69
71 // [TreatNullAs=EmptyString] 70 // [TreatNullAs=EmptyString]
72 testDOMStringReflection('frame', 'marginheight', 'marginHeight', true); 71 testDOMStringReflection('frame', 'marginheight', 'marginHeight', true);
73 testDOMStringReflection('frame', 'marginwidth', 'marginWidth', true); 72 testDOMStringReflection('frame', 'marginwidth', 'marginWidth', true);
74 testDOMStringReflection('iframe', 'marginheight', 'marginHeight', true); 73 testDOMStringReflection('iframe', 'marginheight', 'marginHeight', true);
(...skipping 12 matching lines...) Expand all
87 testDOMStringReflection('td', 'bgcolor', 'bgColor', true); 86 testDOMStringReflection('td', 'bgcolor', 'bgColor', true);
88 testDOMStringReflection('th', 'bgcolor', 'bgColor', true); 87 testDOMStringReflection('th', 'bgcolor', 'bgColor', true);
89 testDOMStringReflection('tr', 'bgcolor', 'bgColor', true); 88 testDOMStringReflection('tr', 'bgcolor', 'bgColor', true);
90 89
91 90
92 // Add more DOMString attributes! 91 // Add more DOMString attributes!
93 92
94 </script> 93 </script>
95 </body> 94 </body>
96 </html> 95 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/dom/domstring-attribute-reflection-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698