Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / getsvgdocument-null.html
blob81ba912a21e1b330e49f41f79283f2120edf2623
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../resources/js-test.js"></script>
5 </head>
6 <body>
7 <script>
8 description("This tests that 'getSVGDocument' returns null on elements that don't contain SVG documents.");
10 var types = ['object', 'frame', 'iframe', 'embed'];
12 types.forEach(function(type) {
13 shouldBeNull("document.createElement('" + type + "').getSVGDocument()");
14 });
15 </script>
16 </body>
17 </html>