Index: LayoutTests/http/tests/htmlimports/import-dynamic-descendant-block.html |
diff --git a/LayoutTests/http/tests/htmlimports/import-dynamic-descendant-block.html b/LayoutTests/http/tests/htmlimports/import-dynamic-descendant-block.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ddb48ac8ea2576fe25a2730c03c64cdb842592d6 |
--- /dev/null |
+++ b/LayoutTests/http/tests/htmlimports/import-dynamic-descendant-block.html |
@@ -0,0 +1,16 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+<script src="../../../resources/testharness.js"></script> |
+<script src="../../../resources/testharnessreport.js"></script> |
+</head> |
+<body> |
+<link id="parentOfDynamicChild" rel="import" href="resources/having-dynamic-child.html"> |
+<script> |
+test(function() { |
+ assert_true(null != parentOfDynamicChild.import, 'Parent of dynamic child'); |
+ assert_true(null != parentOfDynamicChild.import.querySelector('#dynamicLink').import, 'Dynamically added child'); |
+}, 'Dynamically added import in a descendant blocks.'); |
+</script> |
+</body> |
+</html> |