Lines Matching refs:ancestor
571 Node* ancestor = range->commonAncestorContainer(ec);// find the cloeset common ancestor
574 while (ancestor && ancestor->rendererIsEditable() && isNodeVisiblyContainedWithin(ancestor, maximumRange) && ancestor != rootNode) {
575 highestNode = ancestor;
576 ancestor = ancestor->parentNode();
892 Node* ancestor = node->shadowAncestorNode();
893 if (ancestor == node)
895 return ancestor->isElementNode() && static_cast<Element*>(ancestor)->isTextFormControl();