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 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 ] | 213 ] |
214 }, | 214 }, |
215 | 215 |
216 // HTMLDListElement | 216 // HTMLDListElement |
217 // NONE | 217 // NONE |
218 | 218 |
219 { | 219 { |
220 type: 'HTMLEmbedElement', | 220 type: 'HTMLEmbedElement', |
221 elementToUse: document.createElement('embed'), | 221 elementToUse: document.createElement('embed'), |
222 attributes: [ | 222 attributes: [ |
223 {name: 'align', expectedNull: ''}, | 223 {name: 'align', expectedNull: 'null'}, |
224 {name: 'name', expectedNull: ''}, | 224 {name: 'height', expectedNull: 'null'}, |
225 {name: 'src', expectedNull: ''}, | 225 {name: 'name', expectedNull: 'null'}, |
226 {name: 'type', expectedNull: ''} | 226 {name: 'src', expectedNull: 'null', isUrl: true}, |
| 227 {name: 'type', expectedNull: 'null'}, |
| 228 {name: 'width', expectedNull: 'null'} |
227 ] | 229 ] |
228 }, | 230 }, |
229 | 231 |
230 // HTMLFieldSetElement | 232 // HTMLFieldSetElement |
231 // NONE | 233 // NONE |
232 | 234 |
233 { | 235 { |
234 type: 'HTMLFontElement', | 236 type: 'HTMLFontElement', |
235 elementToUse: document.createElement('font'), | 237 elementToUse: document.createElement('font'), |
236 attributes: [ | 238 attributes: [ |
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
651 printOut(''); | 653 printOut(''); |
652 } | 654 } |
653 } | 655 } |
654 </script> | 656 </script> |
655 </head> | 657 </head> |
656 <body onload="runTests()"> | 658 <body onload="runTests()"> |
657 <p>This test setting various attributes of a elements to JavaScript null.</p
> | 659 <p>This test setting various attributes of a elements to JavaScript null.</p
> |
658 <div id="console"></div> | 660 <div id="console"></div> |
659 </body> | 661 </body> |
660 </html> | 662 </html> |
OLD | NEW |