Index: LayoutTests/fast/html/imports/import-owner.html |
diff --git a/LayoutTests/fast/html/imports/import-owner.html b/LayoutTests/fast/html/imports/import-owner.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9d20d6ed3e6d06bd0d787e5b4502eef112121c70 |
--- /dev/null |
+++ b/LayoutTests/fast/html/imports/import-owner.html |
@@ -0,0 +1,16 @@ |
+<!DOCTYPE html> |
+<html> |
+<script src="../../js/resources/js-test-pre.js"></script> |
+<head> |
+<link id="target1" rel="import" href="resources/hello.html"> |
+<link id="target2" rel="import" href="resources/bye.html"> |
+</head> |
+<body> |
+<script> |
+shouldBeNonNull("target1.import.ownerDocument"); |
+shouldNotBe("target1.import.ownerDocument", "document"); |
+shouldBe("target1.import.ownerDocument", "target2.import.ownerDocument"); |
+</script> |
+<script src="../../js/resources/js-test-post.js"></script> |
+</body> |
+</html> |