| Index: Source/core/dom/ContainerNode.cpp
|
| diff --git a/Source/core/dom/ContainerNode.cpp b/Source/core/dom/ContainerNode.cpp
|
| index 1b26b71ed4092b7f264fd8962e5148ff451b7108..1aaf4c27397f0bd0a7be041057e9bffbd2b8d777 100644
|
| --- a/Source/core/dom/ContainerNode.cpp
|
| +++ b/Source/core/dom/ContainerNode.cpp
|
| @@ -173,10 +173,6 @@ static inline bool checkAcceptChild(ContainerNode* newParent, Node* newChild, No
|
| return false;
|
| }
|
|
|
| - if (newChild->inDocument() && newChild->isDocumentTypeNode()) {
|
| - es.throwDOMException(HierarchyRequestError);
|
| - return false;
|
| - }
|
| if (containsConsideringHostElements(newChild, newParent)) {
|
| es.throwDOMException(HierarchyRequestError);
|
| return false;
|
|
|