Searched refs:anchorElement (Results 1 - 14 of 14) sorted by relevance

/macosx-10.10/WebCore-7600.1.25/editing/
H A DCreateLinkCommand.cpp46 RefPtr<HTMLAnchorElement> anchorElement = HTMLAnchorElement::create(document());
47 anchorElement->setHref(m_url);
50 applyStyledElement(anchorElement.release());
52 insertNodeAt(anchorElement.get(), endingSelection().start());
54 appendNode(textNode.release(), anchorElement.get());
55 setEndingSelection(VisibleSelection(positionInParentBeforeNode(anchorElement.get()), positionInParentAfterNode(anchorElement.get()), DOWNSTREAM, endingSelection().isDirectional()));
H A DCompositeEditCommand.cpp1037 void CompositeEditCommand::pushAnchorElementDown(Element& anchorElement) argument
1039 ASSERT(anchorElement.isLink());
1041 setEndingSelection(VisibleSelection::selectionFromContentsOfNode(&anchorElement));
1042 applyStyledElement(&anchorElement);
1043 // Clones of anchorElement have been pushed down, now remove it.
1044 if (anchorElement.inDocument())
1045 removeNodePreservingChildren(&anchorElement);
/macosx-10.10/WebInspectorUI-7600.1.17/UserInterface/Views/
H A DDOMTreeContentView.js370 var anchorElement = event.target.enclosingNodeOrSelfWithNodeName("a");
371 if (!anchorElement || !anchorElement.href)
378 if (WebInspector.isBeingEdited(anchorElement)) {
399 WebInspector.openURL(anchorElement.href, this._frame, alwaysOpenExternally, anchorElement.lineNumber);
/macosx-10.10/WebCore-7600.1.25/accessibility/
H A DAccessibilityImageMapLink.cpp82 return anchorElement();
85 Element* AccessibilityImageMapLink::anchorElement() const function in class:WebCore::AccessibilityImageMapLink
H A DAccessibilityImageMapLink.h57 virtual Element* anchorElement() const override;
H A DAccessibilityNodeObject.h140 virtual Element* anchorElement() const override;
H A DAccessibilityRenderObject.cpp560 Element* AccessibilityRenderObject::anchorElement() const function in class:WebCore::AccessibilityRenderObject
576 return cache->getOrCreate(continuation)->anchorElement();
912 Element* element = anchorElement();
1502 if (HTMLAnchorElement* anchor = toHTMLAnchorElement(anchorElement()))
3262 Element* anchor = anchorElement();
3275 Element* anchor = anchorElement();
H A DAccessibilityRenderObject.h122 virtual Element* anchorElement() const override;
H A DAccessibilityNodeObject.cpp960 Element* AccessibilityNodeObject::anchorElement() const function in class:WebCore::AccessibilityNodeObject
1038 Element* elt = anchorElement();
1051 // FIXME: Do the continuation search like anchorElement does
H A DAccessibilityObject.h686 virtual Element* anchorElement() const { return 0; } function in class:WebCore::AccessibilityObject
H A DAccessibilityObject.cpp1533 Element* anchor = axObj->anchorElement();
/macosx-10.10/WebCore-7600.1.25/html/
H A DFTPDirectoryDocument.cpp143 RefPtr<Element> anchorElement = document()->createElement(aTag, false); local
144 anchorElement->setAttribute(HTMLNames::hrefAttr, fullURL);
145 anchorElement->appendChild(Text::create(*document(), filename), IGNORE_EXCEPTION);
148 tdElement->appendChild(anchorElement, IGNORE_EXCEPTION);
/macosx-10.10/WebInspectorUI-7600.1.17/UserInterface/Base/
H A DMain.js469 var anchorElement = event.target.enclosingNodeOrSelfWithNodeName("a");
470 if (!anchorElement || !anchorElement.href)
473 if (WebInspector.isBeingEdited(anchorElement)) {
482 this.openURL(anchorElement.href, frame, false, anchorElement.lineNumber);
1755 var anchorElement = firstTextNode.nextSibling;
1757 firstTextNode.parentElement.insertBefore(highlightNode, anchorElement);
1758 changes.push({ node: highlightNode, type: "added", nextSibling: anchorElement, parent: firstTextNode.parentElement });
/macosx-10.10/WebCore-7600.1.25/page/
H A DFrameView.cpp1930 Element* anchorElement = frame().document()->findAnchor(name); local
1933 frame().document()->setCSSTarget(anchorElement);
1937 svg->setupInitialView(name, anchorElement);
1938 if (!anchorElement)
1944 if (!anchorElement && !(name.isEmpty() || equalIgnoringCase(name, "top")))
1947 maintainScrollPositionAtAnchor(anchorElement ? static_cast<Node*>(anchorElement) : frame().document());
1950 if (anchorElement && anchorElement->isFocusable())
1951 frame().document()->setFocusedElement(anchorElement);
[all...]

Completed in 249 milliseconds