| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../resources/js-test.js"></script> | 4 <script src="../../resources/js-test.js"></script> |
| 5 </head> | 5 </head> |
| 6 <body> | 6 <body> |
| 7 <script> | 7 <script> |
| 8 description("This tests that 'getSVGDocument' returns null on elements t
hat don't contain SVG documents."); | 8 description("This tests that 'getSVGDocument' returns null on elements t
hat don't contain SVG documents."); |
| 9 | 9 |
| 10 var types = ['object', 'frame', 'iframe', 'embed']; | 10 var types = ['object', 'iframe', 'embed']; |
| 11 | 11 |
| 12 types.forEach(function(type) { | 12 types.forEach(function(type) { |
| 13 shouldBeNull("document.createElement('" + type + "').getSVGDocument(
)"); | 13 shouldBeNull("document.createElement('" + type + "').getSVGDocument(
)"); |
| 14 }); | 14 }); |
| 15 </script> | 15 </script> |
| 16 </body> | 16 </body> |
| 17 </html> | 17 </html> |
| OLD | NEW |