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

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

Issue 99313002: Remove TreatNullAs=NullString for HTMLOutputElement (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 451 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 { 462 {
463 type: 'HTMLOptionElement', 463 type: 'HTMLOptionElement',
464 elementToUse: document.createElement('option'), 464 elementToUse: document.createElement('option'),
465 attributes: [ 465 attributes: [
466 {name: 'text', expectedNull: 'null'}, 466 {name: 'text', expectedNull: 'null'},
467 {name: 'label', expectedNull: 'null'}, 467 {name: 'label', expectedNull: 'null'},
468 {name: 'value', expectedNull: 'null'} 468 {name: 'value', expectedNull: 'null'}
469 ] 469 ]
470 }, 470 },
471 { 471 {
472 type: 'HTMLOutputElement',
473 elementToUse: document.createElement('output'),
474 attributes: [
475 {name: 'name', expectedNull: 'null'},
476 {name: 'defaultValue', expectedNull: 'null'},
477 {name: 'value', expectedNull: 'null'}
478 ]
479 },
480 {
472 type: 'HTMLParagraphElement', 481 type: 'HTMLParagraphElement',
473 elementToUse: document.createElement('p'), 482 elementToUse: document.createElement('p'),
474 attributes: [ 483 attributes: [
475 {name: 'align', expectedNull: 'null'} 484 {name: 'align', expectedNull: 'null'}
476 ] 485 ]
477 }, 486 },
478 { 487 {
479 type: 'HTMLParamElement', 488 type: 'HTMLParamElement',
480 elementToUse: document.createElement('param'), 489 elementToUse: document.createElement('param'),
481 attributes: [ 490 attributes: [
(...skipping 178 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