| Index: sky/engine/core/html/parser/HTMLConstructionSite.cpp
|
| diff --git a/sky/engine/core/html/parser/HTMLConstructionSite.cpp b/sky/engine/core/html/parser/HTMLConstructionSite.cpp
|
| index 13c6b70c2f816cad014801d439b7d6076c815e7a..f2b9aec9f3e20bef3a520b01bf591cf3044895b8 100644
|
| --- a/sky/engine/core/html/parser/HTMLConstructionSite.cpp
|
| +++ b/sky/engine/core/html/parser/HTMLConstructionSite.cpp
|
| @@ -71,10 +71,6 @@ static inline void insert(HTMLConstructionSiteTask& task)
|
| {
|
| if (isHTMLTemplateElement(*task.parent))
|
| task.parent = toHTMLTemplateElement(task.parent.get())->content();
|
| -
|
| - if (ContainerNode* parent = task.child->parentNode())
|
| - parent->parserRemoveChild(*task.child);
|
| -
|
| task.parent->parserAppendChild(task.child.get());
|
| }
|
|
|
|
|