Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: LayoutTests/fast/html/imports/import-owner.html

Issue 15856002: First step of HTMLImports (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed Mac build Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>
« no previous file with comments | « LayoutTests/fast/html/imports/import-insert-expected.txt ('k') | LayoutTests/fast/html/imports/import-owner-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698