Home | History | Annotate | Download | only in jni

Lines Matching defs:anchorNode

1561     Node* node = pos.anchorNode();
1615 || !base.anchorNode() || !base.anchorNode()->renderer()
1616 || !extent.anchorNode() || !extent.anchorNode()->renderer())
1655 Node* editable = findInputParent(base.anchorNode());
1737 Node* node = pos.deepEquivalent().anchorNode();
2350 Node* anchorNode = selection->anchorNode();
2351 if (anchorNode->isElementNode()) {
2368 anchorNode = selection->anchorNode();
2369 if (anchorNode->isTextNode()) {
2371 String suffix = anchorNode->textContent().substring(
2372 selection->anchorOffset(), caretMaxOffset(anchorNode));
2379 String prefix = anchorNode->textContent().substring(0,
2424 anchorNode, DIRECTION_BACKWARD);
2426 anchorNode = textNode;
2437 anchorNode, DIRECTION_FORWARD);
2439 anchorNode = textNode;
2441 if (anchorNode && isContentTextNode(anchorNode)) {
2452 anchorNode = getImplicitBoundaryNode(selection->anchorNode(),
2456 if (anchorNode && focusNode && anchorNode != focusNode) {
2457 Node* inputControl = getIntermediaryInputElement(anchorNode, focusNode,
2461 if (isDescendantOf(inputControl, anchorNode)) {
2472 anchorNode, DIRECTION_BACKWARD);
2480 } else if (anchorNode != focusNode) {
2490 if (isDescendantOf(inputControl, anchorNode)) {
2500 anchorNode, DIRECTION_FORWARD);
2508 } else if (anchorNode != focusNode) {
2525 scrollNodeIntoView(m_mainFrame, selection->anchorNode());
2555 Node* WebViewCore::getNextAnchorNode(Node* anchorNode, bool ignoreFirstNode, int direction)
2561 currentNode = anchorNode->traverseNextNode(body);
2563 currentNode = anchorNode;
2565 body = anchorNode->document()->body();
2567 currentNode = anchorNode->traversePreviousSiblingPostOrder(body);
2569 currentNode = anchorNode;
2586 Node* anchorNode = getImplicitBoundaryNode(selection->anchorNode(),
2588 if (!anchorNode) {
2597 if (selection->anchorNode()->isElementNode()) {
2599 unsigned childNodeCount = selection->anchorNode()->childNodeCount();
2605 Node* nextAnchorNode = getNextAnchorNode(anchorNode, ignoreFirstNode,
3883 getSelectionOffsets(selection.start().anchorNode(), start, end);
4255 Document* document = selection.start().anchorNode()->document();