void SVGUseElement::insertedIntoDocument() { // This functions exists to assure assumptions made in the code regarding SVGElementInstance creation/destruction are satisfied. SVGStyledTransformableElement::insertedIntoDocument(); ASSERT(!m_targetElementInstance || !isWellFormedDocument(document())); ASSERT(!hasPendingResources() || !isWellFormedDocument(document())); }
Node::InsertionNotificationRequest SVGUseElement::insertedInto(ContainerNode* rootParent) { // This functions exists to assure assumptions made in the code regarding SVGElementInstance creation/destruction are satisfied. SVGGraphicsElement::insertedInto(rootParent); if (!rootParent->inDocument()) return InsertionDone; ASSERT(!m_targetElementInstance || !isWellFormedDocument(&document())); ASSERT(!hasPendingResources() || !isWellFormedDocument(&document())); invalidateShadowTree(); return InsertionDone; }
Node::InsertionNotificationRequest SVGUseElement::insertedInto(ContainerNode& rootParent) { // This functions exists to assure assumptions made in the code regarding SVGElementInstance creation/destruction are satisfied. SVGGraphicsElement::insertedInto(rootParent); if (!rootParent.inDocument()) return InsertionDone; ASSERT(!m_targetElementInstance || !isWellFormedDocument(document())); ASSERT(!hasPendingResources() || !isWellFormedDocument(document())); if (!m_wasInsertedByParser) buildPendingResource(); SVGExternalResourcesRequired::insertedIntoDocument(this); return InsertionDone; }