Home
last modified time | relevance | path

Searched refs:shadowAncestor (Results 1 – 5 of 5) sorted by relevance

/external/webkit/Source/WebCore/page/
DDOMSelection.cpp49 Node* shadowAncestor = node->shadowAncestorNode(); in selectionShadowAncestor() local
50 if (shadowAncestor == node) in selectionShadowAncestor()
52 return shadowAncestor; in selectionShadowAncestor()
102 if (Node* shadowAncestor = selectionShadowAncestor(m_frame)) in anchorNode() local
103 return shadowAncestor->parentNodeGuaranteedHostFree(); in anchorNode()
111 if (Node* shadowAncestor = selectionShadowAncestor(m_frame)) in anchorOffset() local
112 return shadowAncestor->nodeIndex(); in anchorOffset()
120 if (Node* shadowAncestor = selectionShadowAncestor(m_frame)) in focusNode() local
121 return shadowAncestor->parentNodeGuaranteedHostFree(); in focusNode()
129 if (Node* shadowAncestor = selectionShadowAncestor(m_frame)) in focusOffset() local
[all …]
/external/webkit/Source/WebCore/html/shadow/
DTextControlInnerElements.cpp115 Node* shadowAncestor = shadowAncestorNode(); in defaultEventHandler() local
119 if (shadowAncestor && shadowAncestor != this) in defaultEventHandler()
120 shadowAncestor->defaultEventHandler(event); in defaultEventHandler()
129 Node* shadowAncestor = shadowAncestorNode(); in createRenderer() local
130 if (shadowAncestor && shadowAncestor->renderer()) { in createRenderer()
131 … ASSERT(shadowAncestor->renderer()->isTextField() || shadowAncestor->renderer()->isTextArea()); in createRenderer()
132 multiLine = shadowAncestor->renderer()->isTextArea(); in createRenderer()
/external/webkit/Source/WebCore/editing/
DVisibleSelection.cpp502 Node* shadowAncestor = endRoot ? endRoot->shadowAncestorNode() : 0; in adjustSelectionToAvoidCrossingEditingBoundaries() local
503 if (p.isNull() && endRoot && (shadowAncestor != endRoot)) in adjustSelectionToAvoidCrossingEditingBoundaries()
504 p = positionAfterNode(shadowAncestor); in adjustSelectionToAvoidCrossingEditingBoundaries()
507 shadowAncestor = root ? root->shadowAncestorNode() : 0; in adjustSelectionToAvoidCrossingEditingBoundaries()
509 if (p.isNull() && (shadowAncestor != root)) in adjustSelectionToAvoidCrossingEditingBoundaries()
510 p = positionAfterNode(shadowAncestor); in adjustSelectionToAvoidCrossingEditingBoundaries()
531 Node* shadowAncestor = startRoot ? startRoot->shadowAncestorNode() : 0; in adjustSelectionToAvoidCrossingEditingBoundaries() local
532 if (p.isNull() && startRoot && (shadowAncestor != startRoot)) in adjustSelectionToAvoidCrossingEditingBoundaries()
533 p = positionBeforeNode(shadowAncestor); in adjustSelectionToAvoidCrossingEditingBoundaries()
536 shadowAncestor = root ? root->shadowAncestorNode() : 0; in adjustSelectionToAvoidCrossingEditingBoundaries()
[all …]
Dhtmlediting.cpp285 if (Node* shadowAncestor = p.deprecatedNode()->shadowAncestorNode()) in firstEditablePositionAfterPositionInRoot() local
286 if (shadowAncestor != p.deprecatedNode()) in firstEditablePositionAfterPositionInRoot()
287 p = positionAfterNode(shadowAncestor); in firstEditablePositionAfterPositionInRoot()
306 if (Node* shadowAncestor = p.deprecatedNode()->shadowAncestorNode()) { in lastEditablePositionBeforePositionInRoot() local
307 if (shadowAncestor != p.deprecatedNode()) in lastEditablePositionBeforePositionInRoot()
308 p = firstPositionInOrBeforeNode(shadowAncestor); in lastEditablePositionBeforePositionInRoot()
/external/webkit/Source/WebCore/rendering/
DRenderTextControl.cpp280 Node* shadowAncestor = node->shadowAncestorNode(); in isSelectableElement() local
281 return shadowAncestor && (shadowAncestor->hasTagName(textareaTag) in isSelectableElement()
282 …|| (shadowAncestor->hasTagName(inputTag) && static_cast<HTMLInputElement*>(shadowAncestor)->isText… in isSelectableElement()