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

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

Issue 98543003: Remove TreatNullAs=NullString for HTMLKeygenElement (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: update tests Created 7 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 | Annotate | Revision Log
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 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 {name: 'alt', expectedNull: ''}, 354 {name: 'alt', expectedNull: ''},
355 {name: 'defaultValue', expectedNull: ''}, 355 {name: 'defaultValue', expectedNull: ''},
356 {name: 'name', expectedNull: ''}, 356 {name: 'name', expectedNull: ''},
357 {name: 'src', expectedNull: ''}, 357 {name: 'src', expectedNull: ''},
358 {name: 'type', expectedNull: 'text'}, 358 {name: 'type', expectedNull: 'text'},
359 {name: 'useMap', expectedNull: ''}, 359 {name: 'useMap', expectedNull: ''},
360 {name: 'value', expectedNull: ''}, 360 {name: 'value', expectedNull: ''},
361 ] 361 ]
362 }, 362 },
363 { 363 {
364 type: 'HTMLKeygenElement',
365 elementToUse: document.createElement('keygen'),
366 attributes: [
367 {name: 'challenge', expectedNull: 'null'},
368 {name: 'keytype', expectedNull: 'null'},
369 {name: 'name', expectedNull: 'null'}
370 ]
371 },
372 {
364 type: 'HTMLLabelElement', 373 type: 'HTMLLabelElement',
365 elementToUse: document.createElement('label'), 374 elementToUse: document.createElement('label'),
366 attributes: [ 375 attributes: [
367 {name: 'accessKey', expectedNull: ''}, 376 {name: 'accessKey', expectedNull: ''},
368 {name: 'htmlFor', expectedNull: ''} 377 {name: 'htmlFor', expectedNull: ''}
369 ] 378 ]
370 }, 379 },
371 { 380 {
372 type: 'HTMLLegendElement', 381 type: 'HTMLLegendElement',
373 elementToUse: document.createElement('legend'), 382 elementToUse: document.createElement('legend'),
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
660 printOut(''); 669 printOut('');
661 } 670 }
662 } 671 }
663 </script> 672 </script>
664 </head> 673 </head>
665 <body onload="runTests()"> 674 <body onload="runTests()">
666 <p>This test setting various attributes of a elements to JavaScript null.</p > 675 <p>This test setting various attributes of a elements to JavaScript null.</p >
667 <div id="console"></div> 676 <div id="console"></div>
668 </body> 677 </body>
669 </html> 678 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698