Fix assert when foster parenting self-closing elements
[WebKit-https.git] / Source / WebCore / html / parser / HTMLConstructionSite.cpp
index 1d31e13..8aee348 100644 (file)
@@ -526,7 +526,7 @@ void HTMLConstructionSite::fosterParent(PassRefPtr<Node> node)
     task.nextChild = 0;
     findFosterSite(task);
     task.child = node;
-    executeTask(task);
+    m_attachmentQueue.append(task);
 }
 
 }