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 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 ] | 405 ] |
406 }, | 406 }, |
407 | 407 |
408 // HTMLMenuElement | 408 // HTMLMenuElement |
409 // NONE | 409 // NONE |
410 | 410 |
411 { | 411 { |
412 type: 'HTMLMetaElement', | 412 type: 'HTMLMetaElement', |
413 elementToUse: document.createElement('meta'), | 413 elementToUse: document.createElement('meta'), |
414 attributes: [ | 414 attributes: [ |
415 {name: 'content', expectedNull: ''}, | 415 {name: 'content', expectedNull: 'null'}, |
416 {name: 'httpEquiv', expectedNull: ''}, | 416 {name: 'httpEquiv', expectedNull: 'null'}, |
417 {name: 'name', expectedNull: ''}, | 417 {name: 'name', expectedNull: 'null'}, |
418 {name: 'scheme', expectedNull: ''} | 418 {name: 'scheme', expectedNull: 'null'} |
419 ] | 419 ] |
420 }, | 420 }, |
421 { | 421 { |
422 type: 'HTMLModElement', | 422 type: 'HTMLModElement', |
423 elementToUse: document.createElement('ins'), // same as 'del
' | 423 elementToUse: document.createElement('ins'), // same as 'del
' |
424 attributes: [ | 424 attributes: [ |
425 {name: 'cite', expectedNull: ''}, | 425 {name: 'cite', expectedNull: ''}, |
426 {name: 'dateTime', expectedNull: ''} | 426 {name: 'dateTime', expectedNull: ''} |
427 ] | 427 ] |
428 }, | 428 }, |
(...skipping 231 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 |