| Index: sky/engine/core/dom/Element.cpp
|
| diff --git a/sky/engine/core/dom/Element.cpp b/sky/engine/core/dom/Element.cpp
|
| index 276310d3893e6a78c4655683f0792f8b484cce10..be09a955fea0b63bf5ca1320e8b364b3f5274a00 100644
|
| --- a/sky/engine/core/dom/Element.cpp
|
| +++ b/sky/engine/core/dom/Element.cpp
|
| @@ -173,10 +173,6 @@ PassRefPtr<Element> Element::cloneElementWithChildren()
|
| PassRefPtr<Element> Element::cloneElementWithoutChildren()
|
| {
|
| RefPtr<Element> clone = cloneElementWithoutAttributesAndChildren();
|
| - // This will catch HTML elements in the wrong namespace that are not correctly copied.
|
| - // This is a sanity check as HTML overloads some of the DOM methods.
|
| - ASSERT(isHTMLElement() == clone->isHTMLElement());
|
| -
|
| clone->cloneDataFromElement(*this);
|
| return clone.release();
|
| }
|
|
|