Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / Document / embeds-non-html.html
blob799a9a06cfd1d92e2a8bfb2e356c367137bb6061
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <link rel="help" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#dom-document-embeds"/>
5 <script src="../../../resources/js-test.js"></script>
6 </head>
7 <body>
8 <script>
9 description("Make sure the embeds / plugins attributes are exposed on non-HTML documents.");
11 var xmlDocument = document.implementation.createDocument("", "", null);
12 shouldBe("xmlDocument.__proto__", "XMLDocument.prototype");
13 shouldBe("xmlDocument.__proto__.__proto__", "Document.prototype");
15 shouldBe("xmlDocument.embeds.__proto__", "HTMLCollection.prototype");
16 shouldBe("xmlDocument.embeds.length", "0");
17 shouldBe("xmlDocument.embeds", "xmlDocument.plugins");
18 </script>
19 </body>
20 </html>