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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 {name: 'object', expectedNull: ''}, | 135 {name: 'object', expectedNull: ''}, |
136 {name: 'vspace', expectedNull: ''}, | 136 {name: 'vspace', expectedNull: ''}, |
137 {name: 'width', expectedNull: ''} | 137 {name: 'width', expectedNull: ''} |
138 ] | 138 ] |
139 }, | 139 }, |
140 { | 140 { |
141 type: 'HTMLAreaElement', | 141 type: 'HTMLAreaElement', |
142 elementToUse: document.createElement('area'), | 142 elementToUse: document.createElement('area'), |
143 attributes: [ | 143 attributes: [ |
144 {name: 'accessKey', expectedNull: ''}, | 144 {name: 'accessKey', expectedNull: ''}, |
145 {name: 'alt', expectedNull: ''}, | 145 {name: 'alt', expectedNull: 'null'}, |
146 {name: 'coords', expectedNull: ''}, | 146 {name: 'coords', expectedNull: 'null'}, |
147 {name: 'href', expectedNull: ''}, | 147 {name: 'href', expectedNull: ''}, |
148 {name: 'shape', expectedNull: ''}, | 148 {name: 'ping', expectedNull: 'null'}, |
149 {name: 'target', expectedNull: ''} | 149 {name: 'shape', expectedNull: 'null'}, |
| 150 {name: 'target', expectedNull: 'null'} |
150 ] | 151 ] |
151 }, | 152 }, |
152 { | 153 { |
153 type: 'HTMLAudioElement', | 154 type: 'HTMLAudioElement', |
154 elementToUse: document.createElement('audio'), | 155 elementToUse: document.createElement('audio'), |
155 attributes: [ | 156 attributes: [ |
156 {name: 'mediaGroup', expectedNull: 'null'}, | 157 {name: 'mediaGroup', expectedNull: 'null'}, |
157 {name: 'preload', expectedNull: 'auto'}, | 158 {name: 'preload', expectedNull: 'auto'}, |
158 {name: 'src', expectedNull: 'null', isUrl: true} | 159 {name: 'src', expectedNull: 'null', isUrl: true} |
159 ] | 160 ] |
(...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
646 printOut(''); | 647 printOut(''); |
647 } | 648 } |
648 } | 649 } |
649 </script> | 650 </script> |
650 </head> | 651 </head> |
651 <body onload="runTests()"> | 652 <body onload="runTests()"> |
652 <p>This test setting various attributes of a elements to JavaScript null.</p
> | 653 <p>This test setting various attributes of a elements to JavaScript null.</p
> |
653 <div id="console"></div> | 654 <div id="console"></div> |
654 </body> | 655 </body> |
655 </html> | 656 </html> |
OLD | NEW |