OLD | NEW |
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 461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
472 type: 'HTMLParagraphElement', | 472 type: 'HTMLParagraphElement', |
473 elementToUse: document.createElement('p'), | 473 elementToUse: document.createElement('p'), |
474 attributes: [ | 474 attributes: [ |
475 {name: 'align', expectedNull: 'null'} | 475 {name: 'align', expectedNull: 'null'} |
476 ] | 476 ] |
477 }, | 477 }, |
478 { | 478 { |
479 type: 'HTMLParamElement', | 479 type: 'HTMLParamElement', |
480 elementToUse: document.createElement('param'), | 480 elementToUse: document.createElement('param'), |
481 attributes: [ | 481 attributes: [ |
482 {name: 'name', expectedNull: ''}, | 482 {name: 'name', expectedNull: 'null'}, |
483 {name: 'type', expectedNull: ''}, | 483 {name: 'type', expectedNull: 'null'}, |
484 {name: 'value', expectedNull: ''}, | 484 {name: 'value', expectedNull: 'null'}, |
485 {name: 'valueType', expectedNull: ''} | 485 {name: 'valueType', expectedNull: 'null'} |
486 ] | 486 ] |
487 }, | 487 }, |
488 | 488 |
489 // HTMLPreElement | 489 // HTMLPreElement |
490 // NONE | 490 // NONE |
491 | 491 |
492 { | 492 { |
493 type: 'HTMLQuoteElement', | 493 type: 'HTMLQuoteElement', |
494 elementToUse: document.createElement('q'), | 494 elementToUse: document.createElement('q'), |
495 attributes: [ | 495 attributes: [ |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
660 printOut(''); | 660 printOut(''); |
661 } | 661 } |
662 } | 662 } |
663 </script> | 663 </script> |
664 </head> | 664 </head> |
665 <body onload="runTests()"> | 665 <body onload="runTests()"> |
666 <p>This test setting various attributes of a elements to JavaScript null.</p
> | 666 <p>This test setting various attributes of a elements to JavaScript null.</p
> |
667 <div id="console"></div> | 667 <div id="console"></div> |
668 </body> | 668 </body> |
669 </html> | 669 </html> |
OLD | NEW |