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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 elementToUse: document.createElement('embed'), | 221 elementToUse: document.createElement('embed'), |
222 attributes: [ | 222 attributes: [ |
223 {name: 'align', expectedNull: 'null'}, | 223 {name: 'align', expectedNull: 'null'}, |
224 {name: 'height', expectedNull: 'null'}, | 224 {name: 'height', expectedNull: 'null'}, |
225 {name: 'name', expectedNull: 'null'}, | 225 {name: 'name', expectedNull: 'null'}, |
226 {name: 'src', expectedNull: 'null', isUrl: true}, | 226 {name: 'src', expectedNull: 'null', isUrl: true}, |
227 {name: 'type', expectedNull: 'null'}, | 227 {name: 'type', expectedNull: 'null'}, |
228 {name: 'width', expectedNull: 'null'} | 228 {name: 'width', expectedNull: 'null'} |
229 ] | 229 ] |
230 }, | 230 }, |
231 | 231 { |
232 // HTMLFieldSetElement | 232 type: 'HTMLFieldSetElement', |
233 // NONE | 233 elementToUse: document.createElement('fieldset'), |
234 | 234 attributes: [ |
| 235 {name: 'name', expectedNull: 'null'} |
| 236 ] |
| 237 }, |
235 { | 238 { |
236 type: 'HTMLFontElement', | 239 type: 'HTMLFontElement', |
237 elementToUse: document.createElement('font'), | 240 elementToUse: document.createElement('font'), |
238 attributes: [ | 241 attributes: [ |
239 {name: 'color', expectedNull: ''}, | 242 {name: 'color', expectedNull: ''}, |
240 {name: 'face', expectedNull: ''}, | 243 {name: 'face', expectedNull: ''}, |
241 {name: 'size', expectedNull: ''} | 244 {name: 'size', expectedNull: ''} |
242 ] | 245 ] |
243 }, | 246 }, |
244 { | 247 { |
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
653 printOut(''); | 656 printOut(''); |
654 } | 657 } |
655 } | 658 } |
656 </script> | 659 </script> |
657 </head> | 660 </head> |
658 <body onload="runTests()"> | 661 <body onload="runTests()"> |
659 <p>This test setting various attributes of a elements to JavaScript null.</p
> | 662 <p>This test setting various attributes of a elements to JavaScript null.</p
> |
660 <div id="console"></div> | 663 <div id="console"></div> |
661 </body> | 664 </body> |
662 </html> | 665 </html> |
OLD | NEW |