| 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 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 }, | 276 }, |
| 277 { | 277 { |
| 278 type: 'HTMLFrameSetElement', | 278 type: 'HTMLFrameSetElement', |
| 279 elementToUse: document.createElement('frameset'), | 279 elementToUse: document.createElement('frameset'), |
| 280 attributes: [ | 280 attributes: [ |
| 281 {name: 'cols', expectedNull: 'null'}, | 281 {name: 'cols', expectedNull: 'null'}, |
| 282 {name: 'rows', expectedNull: 'null'} | 282 {name: 'rows', expectedNull: 'null'} |
| 283 ] | 283 ] |
| 284 }, | 284 }, |
| 285 { | 285 { |
| 286 type: 'HTMLHeadElement', | |
| 287 elementToUse: document.createElement('head'), | |
| 288 attributes: [ | |
| 289 {name: 'profile', expectedNull: ''} | |
| 290 ] | |
| 291 }, | |
| 292 { | |
| 293 type: 'HTMLHeadingElement', | 286 type: 'HTMLHeadingElement', |
| 294 // no need to test h2-h6 | 287 // no need to test h2-h6 |
| 295 elementToUse: document.createElement('h1'), | 288 elementToUse: document.createElement('h1'), |
| 296 attributes: [ | 289 attributes: [ |
| 297 {name: 'align', expectedNull: 'null'} | 290 {name: 'align', expectedNull: 'null'} |
| 298 ] | 291 ] |
| 299 }, | 292 }, |
| 300 { | 293 { |
| 301 type: 'HTMLHRElement', | 294 type: 'HTMLHRElement', |
| 302 elementToUse: document.createElement('hr'), | 295 elementToUse: document.createElement('hr'), |
| (...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 715 printOut(''); | 708 printOut(''); |
| 716 } | 709 } |
| 717 } | 710 } |
| 718 </script> | 711 </script> |
| 719 </head> | 712 </head> |
| 720 <body onload="runTests()"> | 713 <body onload="runTests()"> |
| 721 <p>This test setting various attributes of a elements to JavaScript null.</p
> | 714 <p>This test setting various attributes of a elements to JavaScript null.</p
> |
| 722 <div id="console"></div> | 715 <div id="console"></div> |
| 723 </body> | 716 </body> |
| 724 </html> | 717 </html> |
| OLD | NEW |