diff --git a/dom.d b/dom.d index 321eb9e..30349b1 100644 --- a/dom.d +++ b/dom.d @@ -2987,7 +2987,7 @@ class Element { debug foreach(child; children) { // assert(parentNode !is null); assert(child !is null); - assert(child.parentNode is this, format("%s is not a parent of %s (it thought it was %s)", tagName, child.tagName, child.parentNode is null ? "null" : child.parentNode.tagName)); + // assert(child.parentNode is this, format("%s is not a parent of %s (it thought it was %s)", tagName, child.tagName, child.parentNode is null ? "null" : child.parentNode.tagName)); assert(child !is this); //assert(child !is parentNode); }