Home | History | Annotate | Download | only in svg

Lines Matching defs:node

289     Node* parentNode = shadowRoot->parentNode();
379 static bool isDisallowedElement(Node* element)
394 static bool subtreeContainsDisallowedElement(Node* start)
399 for (Node* cur = start->firstChild(); cur; cur = cur->nextSibling()) {
441 Node* parent = parentNode();
466 // Build instance tree. Create root SVGElementInstance object for the first sub-tree node.
554 static void updateFromElementCallback(Node* node)
556 if (RenderObject* renderer = node->renderer())
574 static bool isDirectReference(Node* n)
587 Node* n = m_targetElementInstance ? m_targetElementInstance->shadowTreeElement() : 0;
614 for (Node* node = target->firstChild(); node; node = node->nextSibling()) {
616 if (node->isSVGElement())
617 element = static_cast<SVGElement*>(node);
677 void SVGUseElement::removeDisallowedElementsFromSubtree(Node* subtree)
681 Node* node = subtree->firstChild();
682 while (node) {
683 if (isDisallowedElement(node)) {
684 Node* next = node->traverseNextSibling(subtree);
686 node->parent()->removeChild(node, ec);
687 node = next;
689 node = node->traverseNextNode(subtree);
720 void SVGUseElement::expandUseElementsInShadowTree(SVGShadowTreeRootElement* shadowRoot, Node* element)
740 // Setup sub-shadow tree root node
789 for (RefPtr<Node> child = element->firstChild(); child; child = child->nextSibling())
793 void SVGUseElement::expandSymbolElementsInShadowTree(SVGShadowTreeRootElement* shadowRoot, Node* element)
809 for (Node* child = element->firstChild(); child; child = child->nextSibling()) {
810 RefPtr<Node> newChild = child->cloneNode(true);
833 for (RefPtr<Node> child = element->firstChild(); child; child = child->nextSibling())
867 void SVGUseElement::associateInstancesWithShadowTreeElements(Node* target, SVGElementInstance* targetInstance)
896 Node* node = target->firstChild();
897 for (SVGElementInstance* instance = targetInstance->firstChild(); node && instance; instance = instance->nextSibling()) {
899 while (node && !node->isSVGElement())
900 node = node->nextSibling();
902 associateInstancesWithShadowTreeElements(node, instance);
903 node = node->nextSibling();
907 SVGElementInstance* SVGUseElement::instanceForShadowTreeElement(Node* element) const
917 SVGElementInstance* SVGUseElement::instanceForShadowTreeElement(Node* element, SVGElementInstance* instance) const