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

Side by Side Diff: LayoutTests/fast/dom/element-attribute-js-null.html

Issue 59383002: Remove TreatNullAs=NullString for HTMLAreaElement (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@nullanchor
Patch Set: Created 7 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 | LayoutTests/fast/dom/element-attribute-js-null-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 <html> 1 <html>
2 <head> 2 <head>
3 <style type="text/css"> 3 <style type="text/css">
4 .pass { color: green; } 4 .pass { color: green; }
5 .fail { color: red; } 5 .fail { color: red; }
6 </style> 6 </style>
7 <script> 7 <script>
8 function printOut(msg) 8 function printOut(msg)
9 { 9 {
10 var console = document.getElementById("console"); 10 var console = document.getElementById("console");
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 {name: 'object', expectedNull: ''}, 135 {name: 'object', expectedNull: ''},
136 {name: 'vspace', expectedNull: ''}, 136 {name: 'vspace', expectedNull: ''},
137 {name: 'width', expectedNull: ''} 137 {name: 'width', expectedNull: ''}
138 ] 138 ]
139 }, 139 },
140 { 140 {
141 type: 'HTMLAreaElement', 141 type: 'HTMLAreaElement',
142 elementToUse: document.createElement('area'), 142 elementToUse: document.createElement('area'),
143 attributes: [ 143 attributes: [
144 {name: 'accessKey', expectedNull: ''}, 144 {name: 'accessKey', expectedNull: ''},
145 {name: 'alt', expectedNull: ''}, 145 {name: 'alt', expectedNull: 'null'},
146 {name: 'coords', expectedNull: ''}, 146 {name: 'coords', expectedNull: 'null'},
147 {name: 'href', expectedNull: ''}, 147 {name: 'href', expectedNull: ''},
148 {name: 'shape', expectedNull: ''}, 148 {name: 'ping', expectedNull: 'null'},
149 {name: 'target', expectedNull: ''} 149 {name: 'shape', expectedNull: 'null'},
150 {name: 'target', expectedNull: 'null'}
150 ] 151 ]
151 }, 152 },
152 { 153 {
153 type: 'HTMLAudioElement', 154 type: 'HTMLAudioElement',
154 elementToUse: document.createElement('audio'), 155 elementToUse: document.createElement('audio'),
155 attributes: [ 156 attributes: [
156 {name: 'mediaGroup', expectedNull: 'null'}, 157 {name: 'mediaGroup', expectedNull: 'null'},
157 {name: 'preload', expectedNull: 'auto'}, 158 {name: 'preload', expectedNull: 'auto'},
158 {name: 'src', expectedNull: 'null', isUrl: true} 159 {name: 'src', expectedNull: 'null', isUrl: true}
159 ] 160 ]
(...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after
646 printOut(''); 647 printOut('');
647 } 648 }
648 } 649 }
649 </script> 650 </script>
650 </head> 651 </head>
651 <body onload="runTests()"> 652 <body onload="runTests()">
652 <p>This test setting various attributes of a elements to JavaScript null.</p > 653 <p>This test setting various attributes of a elements to JavaScript null.</p >
653 <div id="console"></div> 654 <div id="console"></div>
654 </body> 655 </body>
655 </html> 656 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/element-attribute-js-null-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698