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 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 {name: 'face', expectedNull: 'null'}, | 246 {name: 'face', expectedNull: 'null'}, |
247 {name: 'size', expectedNull: 'null'} | 247 {name: 'size', expectedNull: 'null'} |
248 ] | 248 ] |
249 }, | 249 }, |
250 { | 250 { |
251 type: 'HTMLFormElement', | 251 type: 'HTMLFormElement', |
252 elementToUse: document.createElement('form'), | 252 elementToUse: document.createElement('form'), |
253 attributes: [ | 253 attributes: [ |
254 {name: 'acceptCharset', expectedNull: 'null'}, | 254 {name: 'acceptCharset', expectedNull: 'null'}, |
255 {name: 'action', expectedNull: 'null', isUrl: true}, | 255 {name: 'action', expectedNull: 'null', isUrl: true}, |
256 {name: 'autocomplete', expectedNull: 'null'}, | 256 {name: 'autocomplete', expectedNull: 'on'}, |
257 {name: 'enctype', expectedNull: 'application/x-www-form-
urlencoded'}, | 257 {name: 'enctype', expectedNull: 'application/x-www-form-
urlencoded'}, |
258 {name: 'encoding', expectedNull: 'application/x-www-form
-urlencoded'}, | 258 {name: 'encoding', expectedNull: 'application/x-www-form
-urlencoded'}, |
259 {name: 'method', expectedNull: 'get'}, | 259 {name: 'method', expectedNull: 'get'}, |
260 {name: 'name', expectedNull: 'null'}, | 260 {name: 'name', expectedNull: 'null'}, |
261 {name: 'target', expectedNull: 'null'} | 261 {name: 'target', expectedNull: 'null'} |
262 ] | 262 ] |
263 }, | 263 }, |
264 { | 264 { |
265 type: 'HTMLFrameElement', | 265 type: 'HTMLFrameElement', |
266 elementToUse: document.createElement('frame'), | 266 elementToUse: document.createElement('frame'), |
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
719 printOut(''); | 719 printOut(''); |
720 } | 720 } |
721 } | 721 } |
722 </script> | 722 </script> |
723 </head> | 723 </head> |
724 <body onload="runTests()"> | 724 <body onload="runTests()"> |
725 <p>This test setting various attributes of a elements to JavaScript null.</p
> | 725 <p>This test setting various attributes of a elements to JavaScript null.</p
> |
726 <div id="console"></div> | 726 <div id="console"></div> |
727 </body> | 727 </body> |
728 </html> | 728 </html> |
OLD | NEW |