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 559 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
570 elementToUse: document.createElement('td'), | 570 elementToUse: document.createElement('td'), |
571 attributes: [ | 571 attributes: [ |
572 {name: 'abbr', expectedNull: 'null'}, | 572 {name: 'abbr', expectedNull: 'null'}, |
573 {name: 'align', expectedNull: 'null'}, | 573 {name: 'align', expectedNull: 'null'}, |
574 {name: 'axis', expectedNull: 'null'}, | 574 {name: 'axis', expectedNull: 'null'}, |
575 {name: 'bgColor', expectedNull: ''}, | 575 {name: 'bgColor', expectedNull: ''}, |
576 {name: 'ch', expectedNull: 'null'}, | 576 {name: 'ch', expectedNull: 'null'}, |
577 {name: 'chOff', expectedNull: 'null'}, | 577 {name: 'chOff', expectedNull: 'null'}, |
578 {name: 'headers', expectedNull: ''}, | 578 {name: 'headers', expectedNull: ''}, |
579 {name: 'height', expectedNull: 'null'}, | 579 {name: 'height', expectedNull: 'null'}, |
580 {name: 'scope', expectedNull: 'null'}, | 580 {name: 'scope', expectedNull: ''}, |
581 {name: 'vAlign', expectedNull: 'null'}, | 581 {name: 'vAlign', expectedNull: 'null'}, |
582 {name: 'width', expectedNull: 'null'} | 582 {name: 'width', expectedNull: 'null'} |
583 ] | 583 ] |
584 }, | 584 }, |
585 { | 585 { |
586 type: 'HTMLTableColElement', | 586 type: 'HTMLTableColElement', |
587 elementToUse: document.createElement('col'), | 587 elementToUse: document.createElement('col'), |
588 attributes: [ | 588 attributes: [ |
589 {name: 'align', expectedNull: 'null'}, | 589 {name: 'align', expectedNull: 'null'}, |
590 {name: 'ch', expectedNull: 'null'}, | 590 {name: 'ch', expectedNull: 'null'}, |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
687 printOut(''); | 687 printOut(''); |
688 } | 688 } |
689 } | 689 } |
690 </script> | 690 </script> |
691 </head> | 691 </head> |
692 <body onload="runTests()"> | 692 <body onload="runTests()"> |
693 <p>This test setting various attributes of a elements to JavaScript null.</p
> | 693 <p>This test setting various attributes of a elements to JavaScript null.</p
> |
694 <div id="console"></div> | 694 <div id="console"></div> |
695 </body> | 695 </body> |
696 </html> | 696 </html> |
OLD | NEW |