Home | History | Annotate | Download | only in dom

Lines Matching refs:ancestors

1130     // newChild node, or if the node to append is one of this node's ancestors.
1186 // newChild node, or if the node to append is one of this node's ancestors.
2628 void Node::eventAncestors(Vector<RefPtr<ContainerNode> > &ancestors)
2637 ancestors.append(ancestor);
2653 static bool eventHasListeners(const AtomicString& eventType, DOMWindow* window, Node* node, Vector<RefPtr<ContainerNode> >& ancestors)
2661 for (size_t i = 0; i < ancestors.size(); i++) {
2662 ContainerNode* ancestor = ancestors[i].get();
2678 // Make a vector of ancestors to send the event to.
2682 Vector<RefPtr<ContainerNode> > ancestors;
2683 eventAncestors(ancestors);
2690 Node* topLevelContainer = ancestors.isEmpty() ? this : ancestors.last().get();
2697 bool timelineAgentIsActive = timelineAgent && eventHasListeners(event->type(), targetForWindowEvents, this, ancestors);
2716 for (size_t i = ancestors.size(); i; --i) {
2717 ContainerNode* ancestor = ancestors[i - 1].get();
2735 size_t size = ancestors.size();
2737 ContainerNode* ancestor = ancestors[i].get();
2770 size_t size = ancestors.size();
2772 ContainerNode* ancestor = ancestors[i].get();