Index: third_party/WebKit/Source/core/dom/ContainerNode.cpp |
diff --git a/third_party/WebKit/Source/core/dom/ContainerNode.cpp b/third_party/WebKit/Source/core/dom/ContainerNode.cpp |
index 1e2fe05deb8fd395510513ca71914d9918336852..25dfd465fd8158295ca75ec973b13104d5710969 100644 |
--- a/third_party/WebKit/Source/core/dom/ContainerNode.cpp |
+++ b/third_party/WebKit/Source/core/dom/ContainerNode.cpp |
@@ -1533,6 +1533,9 @@ bool childAttachedAllowedWhenAttachingChildren(ContainerNode* node) |
if (node->isInsertionPoint()) |
return true; |
+ if (isHTMLSlotElement(node)) |
+ return true; |
+ |
if (node->isElementNode() && toElement(node)->shadow()) |
return true; |