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

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

Issue 99233002: Remove TreatNullAs=NullString for HTMLObjectElement (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase 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 457 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 elementToUse: document.createElement('ins'), // same as 'del ' 468 elementToUse: document.createElement('ins'), // same as 'del '
469 attributes: [ 469 attributes: [
470 {name: 'cite', expectedNull: 'null', isUrl: true}, 470 {name: 'cite', expectedNull: 'null', isUrl: true},
471 {name: 'dateTime', expectedNull: 'null'} 471 {name: 'dateTime', expectedNull: 'null'}
472 ] 472 ]
473 }, 473 },
474 { 474 {
475 type: 'HTMLObjectElement', 475 type: 'HTMLObjectElement',
476 elementToUse: document.createElement('object'), 476 elementToUse: document.createElement('object'),
477 attributes: [ 477 attributes: [
478 {name: 'code', expectedNull: ''}, 478 {name: 'code', expectedNull: 'null'},
479 {name: 'align', expectedNull: ''}, 479 {name: 'align', expectedNull: 'null'},
480 {name: 'archive', expectedNull: ''}, 480 {name: 'archive', expectedNull: 'null'},
481 {name: 'border', expectedNull: ''}, 481 {name: 'border', expectedNull: ''},
482 {name: 'codeBase', expectedNull: ''}, 482 {name: 'codeBase', expectedNull: 'null', isUrl: true},
483 {name: 'codeType', expectedNull: ''}, 483 {name: 'codeType', expectedNull: 'null'},
484 {name: 'data', expectedNull: ''}, 484 {name: 'data', expectedNull: 'null', isUrl: true},
485 {name: 'height', expectedNull: ''}, 485 {name: 'height', expectedNull: 'null'},
486 {name: 'name', expectedNull: ''}, 486 {name: 'name', expectedNull: 'null'},
487 {name: 'standby', expectedNull: ''}, 487 {name: 'standby', expectedNull: 'null'},
488 {name: 'type', expectedNull: ''}, 488 {name: 'type', expectedNull: 'null'},
489 {name: 'useMap', expectedNull: ''}, 489 {name: 'useMap', expectedNull: 'null'},
490 {name: 'width', expectedNull: ''} 490 {name: 'width', expectedNull: 'null'}
491 ] 491 ]
492 }, 492 },
493 { 493 {
494 type: 'HTMLOListElement', 494 type: 'HTMLOListElement',
495 elementToUse: document.createElement('ol'), 495 elementToUse: document.createElement('ol'),
496 attributes: [ 496 attributes: [
497 {name: 'type', expectedNull: 'null'} 497 {name: 'type', expectedNull: 'null'}
498 ] 498 ]
499 }, 499 },
500 { 500 {
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
714 printOut(''); 714 printOut('');
715 } 715 }
716 } 716 }
717 </script> 717 </script>
718 </head> 718 </head>
719 <body onload="runTests()"> 719 <body onload="runTests()">
720 <p>This test setting various attributes of a elements to JavaScript null.</p > 720 <p>This test setting various attributes of a elements to JavaScript null.</p >
721 <div id="console"></div> 721 <div id="console"></div>
722 </body> 722 </body>
723 </html> 723 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698