Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / HTMLTemplateElement / ownerDocument-import.html
blobfa0d277b4b39a12c86cf1a5865cd8ac9563d2dfd
1 <!DOCTYPE html>
2 <head>
3 <link rel=import href="resources/template-import.html">
4 </head>
5 <body onload="runTest()">
6 <script src="../../../resources/js-test.js"></script>
7 <script>
8 jsTestIsAsync = true;
9 description('HTMLTemplateElement content ownerDocument in HTML imports should differ from import document');
11 function runTest() {
12 var link = document.querySelector('link[rel=import]');
13 var importDocument = link.import;
14 window.template = importDocument.querySelector('template');
15 shouldNotBe("template.ownerDocument", "template.content.ownerDocument");
16 finishJSTest();
18 </script>
19 </body>