Home | History | Annotate | Download | only in dom

Lines Matching refs:ancestor

1132     // check for ancestor/same node
1188 // check for ancestor/same node
1217 // Return true if other is an ancestor of this, otherwise false
1800 if (Element* ancestor = ancestorElement())
1801 return ancestor->isDefaultNamespace(namespaceURI);
1821 if (Element* ancestor = ancestorElement())
1822 return ancestor->isDefaultNamespace(namespaceURI);
1854 if (Element* ancestor = ancestorElement())
1855 return ancestor->lookupPrefix(namespaceURI);
1894 if (Element* ancestor = ancestorElement())
1895 return ancestor->lookupNamespaceURI(prefix);
1916 if (Element* ancestor = ancestorElement())
1917 return ancestor->lookupNamespaceURI(prefix);
1943 if (Element* ancestor = ancestorElement())
1944 return ancestor->lookupNamespacePrefix(_namespaceURI, originalElement);
2098 // We need to find a common ancestor container, and then compare the indices of the two immediate children.
2133 // chain is the ancestor.
2631 for (ContainerNode* ancestor = eventParentNode(); ancestor; ancestor = ancestor->eventParentNode()) {
2634 if (ancestor->isSVGElement() && ancestor->isShadowNode())
2637 ancestors.append(ancestor);
2662 ContainerNode* ancestor = ancestors[i].get();
2663 if (ancestor->hasEventListeners(eventType))
2717 ContainerNode* ancestor = ancestors[i - 1].get();
2718 event->setCurrentTarget(eventTargetRespectingSVGTargetRules(ancestor));
2719 ancestor->handleLocalEvents(event.get());
2737 ContainerNode* ancestor = ancestors[i].get();
2738 event->setCurrentTarget(eventTargetRespectingSVGTargetRules(ancestor));
2739 ancestor->handleLocalEvents(event.get());
2772 ContainerNode* ancestor = ancestors[i].get();
2773 ancestor->defaultEventHandler(event.get());