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

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

Issue 61643028: Remove TreatNullAs=NullString for HTMLFontElement (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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 | Annotate | Revision Log
« 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 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 elementToUse: document.createElement('fieldset'), 233 elementToUse: document.createElement('fieldset'),
234 attributes: [ 234 attributes: [
235 {name: 'name', expectedNull: 'null'} 235 {name: 'name', expectedNull: 'null'}
236 ] 236 ]
237 }, 237 },
238 { 238 {
239 type: 'HTMLFontElement', 239 type: 'HTMLFontElement',
240 elementToUse: document.createElement('font'), 240 elementToUse: document.createElement('font'),
241 attributes: [ 241 attributes: [
242 {name: 'color', expectedNull: ''}, 242 {name: 'color', expectedNull: ''},
243 {name: 'face', expectedNull: ''}, 243 {name: 'face', expectedNull: 'null'},
244 {name: 'size', expectedNull: ''} 244 {name: 'size', expectedNull: 'null'}
245 ] 245 ]
246 }, 246 },
247 { 247 {
248 type: 'HTMLFormElement', 248 type: 'HTMLFormElement',
249 elementToUse: document.createElement('form'), 249 elementToUse: document.createElement('form'),
250 attributes: [ 250 attributes: [
251 {name: 'name', expectedNull: ''}, 251 {name: 'name', expectedNull: ''},
252 {name: 'acceptCharset', expectedNull: ''}, 252 {name: 'acceptCharset', expectedNull: ''},
253 {name: 'action', expectedNull: ''}, 253 {name: 'action', expectedNull: ''},
254 {name: 'encoding', expectedNull: 'application/x-www-form -urlencoded'}, 254 {name: 'encoding', expectedNull: 'application/x-www-form -urlencoded'},
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
656 printOut(''); 656 printOut('');
657 } 657 }
658 } 658 }
659 </script> 659 </script>
660 </head> 660 </head>
661 <body onload="runTests()"> 661 <body onload="runTests()">
662 <p>This test setting various attributes of a elements to JavaScript null.</p > 662 <p>This test setting various attributes of a elements to JavaScript null.</p >
663 <div id="console"></div> 663 <div id="console"></div>
664 </body> 664 </body>
665 </html> 665 </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