Home
last modified time | relevance | path

Searched refs:enclosingAnchor (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/editing/
DCompositeEditCommand.cpp1416 Element* enclosingAnchor = enclosingAnchorElement(original); in positionAvoidingSpecialElementBoundary() local
1419 if (!enclosingAnchor) in positionAvoidingSpecialElementBoundary()
1423 if (enclosingAnchor && !isBlock(enclosingAnchor)) { in positionAvoidingSpecialElementBoundary()
1424 VisiblePosition firstInAnchor(firstPositionInNode(enclosingAnchor)); in positionAvoidingSpecialElementBoundary()
1425 VisiblePosition lastInAnchor(lastPositionInNode(enclosingAnchor)); in positionAvoidingSpecialElementBoundary()
1431 …if (original.deprecatedNode() != enclosingAnchor && original.deprecatedNode()->parentNode() != enc… in positionAvoidingSpecialElementBoundary()
1432 pushAnchorElementDown(enclosingAnchor); in positionAvoidingSpecialElementBoundary()
1433 enclosingAnchor = enclosingAnchorElement(original); in positionAvoidingSpecialElementBoundary()
1434 if (!enclosingAnchor) in positionAvoidingSpecialElementBoundary()
1440 …xistsAtVisiblePosition(visiblePos) && downstream.deprecatedNode()->isDescendantOf(enclosingAnchor)) in positionAvoidingSpecialElementBoundary()
[all …]
Dmarkup.cpp557 …if (HTMLAnchorElement* enclosingAnchor = toHTMLAnchorElement(enclosingElementWithTag(firstPosition… in highestAncestorToWrapMarkup() local
558 specialCommonAncestor = enclosingAnchor; in highestAncestorToWrapMarkup()