Lines Matching refs:anchorNode
1430 Element* anchorNode = m_frame->document()->findAnchor(name);
1442 if (anchorNode && anchorNode->hasTagName(SVGNames::viewTag)) {
1443 RefPtr<SVGViewElement> viewElement = anchorNode->hasTagName(SVGNames::viewTag) ? static_cast<SVGViewElement*>(anchorNode) : 0;
1458 m_frame->document()->setCSSTarget(anchorNode); // Setting to null will clear the current target.
1461 if (!anchorNode && !(name.isEmpty() || equalIgnoringCase(name, "top")))
1464 maintainScrollPositionAtAnchor(anchorNode ? static_cast<Node*>(anchorNode) : m_frame->document());
1468 void FrameView::maintainScrollPositionAtAnchor(Node* anchorNode)
1470 m_maintainScrollPositionAnchor = anchorNode;
1937 RefPtr<Node> anchorNode = m_maintainScrollPositionAnchor;
1938 if (!anchorNode)
1941 if (!anchorNode->renderer())
1945 if (anchorNode != m_frame->document())
1946 rect = anchorNode->getRect();
1950 anchorNode->renderer()->enclosingLayer()->scrollRectToVisible(rect, true, ScrollAlignment::alignToEdgeIfNeeded, ScrollAlignment::alignTopAlways);
1953 m_frame->document()->axObjectCache()->handleScrolledToAnchor(anchorNode.get());
1956 m_maintainScrollPositionAnchor = anchorNode;