Home
last modified time | relevance | path

Searched refs:isTextNode (Results 1 – 25 of 68) sorted by relevance

123

/external/webkit/Source/WebCore/editing/
DInsertTextCommand.cpp61 if (!pos.containerNode()->isTextNode()) { in positionInsideTextNode()
85 …if (start.containerNode() != end.containerNode() || !start.containerNode()->isTextNode() || isTabS… in performTrivialReplace()
165 ASSERT(startPosition.containerNode()->isTextNode()); in input()
222 if (!node->isTextNode()) { in insertTab()
DDeleteSelectionCommand.cpp280 …ecatedNode() == m_downstreamEnd.deprecatedNode() && m_upstreamStart.deprecatedNode()->isTextNode()) in saveTypingStyleState()
441 if (startOffset >= caretMaxOffset(startNode) && startNode->isTextNode()) { in handleGeneralDelete()
458 if (startNode->isTextNode()) { in handleGeneralDelete()
478 if (startNode->isTextNode()) { in handleGeneralDelete()
486 } else if (startNode == m_upstreamEnd.deprecatedNode() && startNode->isTextNode()) { in handleGeneralDelete()
522 if (m_downstreamEnd.deprecatedNode()->isTextNode()) { in handleGeneralDelete()
555 …!m_leadingWhitespace.isRenderedCharacter() && m_leadingWhitespace.deprecatedNode()->isTextNode()) { in fixupWhitespace()
560 …_trailingWhitespace.isRenderedCharacter() && m_trailingWhitespace.deprecatedNode()->isTextNode()) { in fixupWhitespace()
DInsertLineBreakCommand.cpp135 …edEditingOffset() >= caretMaxOffset(pos.deprecatedNode()) || !pos.deprecatedNode()->isTextNode()) { in doApply()
138 } else if (pos.deprecatedNode()->isTextNode()) { in doApply()
DInsertParagraphSeparatorCommand.cpp312 if (leadingWhitespace.isNotNull() && leadingWhitespace.deprecatedNode()->isTextNode()) { in doApply()
319 if (insertionPosition.deprecatedNode()->isTextNode()) { in doApply()
375 if (insertionPosition.deprecatedNode()->isTextNode()) in doApply()
DReplaceSelectionCommand.cpp499 && m_lastLeafInserted->isTextNode() in removeUnrenderedTextNodesAtEnds()
516 m_firstNodeInserted->isTextNode()) { in removeUnrenderedTextNodesAtEnds()
694 if (childNode->isTextNode() || !isBlock(childNode) || childNode->hasTagName(preTag)) { in copyStyleToChildren()
956 …if (insertionPos.containerNode()->isTextNode() && insertionPos.offsetInContainerNode() && !inserti… in doApply()
1134 if (endNode->isTextNode()) { in doApply()
1149 if (startNode->isTextNode()) { in doApply()
1266 if (insertPos.deprecatedNode()->isTextNode() && textNodeOffset > 0) in insertAsListItems()
1311 …stChild() || fragment.firstChild() != fragment.lastChild() || !fragment.firstChild()->isTextNode()) in performTrivialReplace()
1327 if (start.containerNode() != end.containerNode() || !start.containerNode()->isTextNode()) in performTrivialReplace()
DCompositeEditCommand.cpp176 else if (refChild->isTextNode() && caretMaxOffset(refChild) > offset) { in insertNodeAt()
416 if (position.anchorType() != Position::PositionIsOffsetInAnchor || !node || !node->isTextNode()) in canRebalance()
484 if (!node || !node->isTextNode()) in prepareWhitespaceAtPositionForSplit()
503 …ace(previousVisiblePos.characterAfter()) && previous.deprecatedNode()->isTextNode() && !previous.d… in prepareWhitespaceAtPositionForSplit()
505 …eWhitespace(visiblePos.characterAfter()) && position.deprecatedNode()->isTextNode() && !position.d… in prepareWhitespaceAtPositionForSplit()
610 if (node->isTextNode()) { in deleteInsignificantText()
1138 …ASSERT(caretPos.deprecatedNode()->hasTagName(brTag) || (caretPos.deprecatedNode()->isTextNode() &&… in breakOutOfEmptyMailBlockquotedParagraph()
1144 } else if (caretPos.deprecatedNode()->isTextNode()) { in breakOutOfEmptyMailBlockquotedParagraph()
DApplyBlockElementCommand.cpp156 …if (!textNode || !textNode->isTextNode() || offset < 0 || offset >= textNode->maxCharacterOffset()) in isNewLineAtPosition()
171 || !position.containerNode()->isTextNode() in renderStyleOfEnclosingTextNode()
Dhtmlediting.cpp72 return !canHaveChildrenForEditing(node) && !node->isTextNode(); in editingIgnoresContent()
77 return !node->isTextNode() in canHaveChildrenForEditing()
880 return node && node->isTextNode() && node->parentNode() && isTabSpanNode(node->parentNode()); in isTabSpanTextNode()
982 if (n->isTextNode() && n->renderer()) in caretMaxOffset()
1004 …if (!position.anchorNode()->isTextNode() || !position.anchorNode()->renderer()->style()->preserveN… in lineBreakExistsAtPosition()
DApplyStyleCommand.cpp312 if (start.deprecatedNode()->isTextNode()) { in applyRelativeFontStyleChange()
317 …if (end.deprecatedNode()->isTextNode() && start.deprecatedNode()->parentNode() != end.deprecatedNo… in applyRelativeFontStyleChange()
347 …if (startNode->isTextNode() && start.deprecatedEditingOffset() >= caretMaxOffset(startNode)) // Mo… in applyRelativeFontStyleChange()
367 } else if (node->isTextNode() && node->renderer() && node->parentNode() != lastStyledNode) { in applyRelativeFontStyleChange()
1038 if (pushDownStartContainer && pushDownStartContainer->isTextNode() in removeInlineStyle()
1188 if (position.anchorType() != Position::PositionIsOffsetInAnchor || !node->isTextNode()) in isValidCaretPositionInTextNode()
1480 if (child->isTextNode() && next && next->isTextNode()) { in joinChildTextNodes()
/external/webkit/Source/WebCore/html/
DHTMLTitleElement.cpp71 if (n->isTextNode()) in text()
93 if (numChildren == 1 && firstChild()->isTextNode()) in setText()
DHTMLElement.cpp298 return hasOneChild(node) && node->firstChild()->isTextNode(); in hasOneTextChild()
466 ASSERT(node && node->isTextNode()); in mergeWithNextTextNode()
468 if (!next || !next->isTextNode()) in mergeWithNextTextNode()
518 if (!ec && node && node->isTextNode()) in setOuterText()
521 if (!ec && prev && prev->isTextNode()) in setOuterText()
867 if (node->isTextNode()) { in directionality()
DHTMLTextAreaElement.cpp347 if (n->isTextNode()) in defaultValue()
360 if (n->isTextNode()) in setDefaultValue()
/external/webkit/Source/WebCore/rendering/
DRenderTextFragment.cpp55 …RefPtr<StringImpl> result = ((e && e->isTextNode()) ? static_cast<Text*>(e)->dataImpl() : contentS… in originalText()
98 …StringImpl* original = ((e && e->isTextNode()) ? static_cast<Text*>(e)->dataImpl() : contentStrin… in previousCharacter()
DRenderTextControl.cpp287 if (node->isTextNode()) { in setContainerAndOffsetForRange()
310 ASSERT(node->isTextNode() || node->hasTagName(brTag)); in selection()
311 int length = node->isTextNode() ? lastOffsetInNode(node) : 1; in selection()
386 else if (n->isTextNode()) { in text()
434 else if (n->isTextNode()) { in textWithHardLineBreaks()
/external/webkit/Source/WebCore/dom/
DText.cpp123 if (!n->isTextNode()) in wholeText()
135 if (!n->isTextNode()) in wholeText()
159 …for (RefPtr<Node> n = startText; n && n != this && n->isTextNode() && n->parentNode() == parent;) { in replaceWholeText()
167 …for (RefPtr<Node> n = nextSibling(); n && n != onePastEndText && n->isTextNode() && n->parentNode(… in replaceWholeText()
DPosition.cpp392 if (!deprecatedNode()->isTextNode()) in renderedOffset()
812 if (isNull() || !deprecatedNode()->isTextNode()) in inRenderedText()
848 if (isNull() || !deprecatedNode()->isTextNode()) in isRenderedCharacter()
894 if (!deprecatedNode()->isTextNode() && !pos.deprecatedNode()->isTextNode()) { in rendersInDifferentPosition()
909 if (deprecatedNode()->isTextNode() && !inRenderedText()) in rendersInDifferentPosition()
912 if (pos.deprecatedNode()->isTextNode() && !pos.inRenderedText()) in rendersInDifferentPosition()
967 …ode()->inSameContainingBlockFlowElement(deprecatedNode()) && prev.deprecatedNode()->isTextNode()) { in leadingWhitespacePosition()
/external/webkit/Source/WebKit/chromium/src/
DWebNode.cpp143 bool WebNode::isTextNode() const in isTextNode() function in WebKit::WebNode
145 return m_private->isTextNode(); in isTextNode()
/external/webkit/Source/WebKit/chromium/src/android/
DWebDOMTextContentWalker.cpp64 if (!node || !node->isTextNode() || offset >= node->nodeValue().length()) in WebDOMTextContentWalker()
/external/webkit/Source/WebCore/wml/
DWMLTableElement.cpp159 if (!item->isTextNode() || !nextItem->isTextNode()) in tryMergeAdjacentTextCells()
/external/webkit/Source/WebCore/svg/
DSVGTSpanElement.cpp49 if (child->isTextNode() in childShouldCreateRenderer()
DSVGAltGlyphElement.cpp93 if (child->isTextNode()) in childShouldCreateRenderer()
DSVGTRefElement.cpp108 if (child->isTextNode()) in childShouldCreateRenderer()
DSVGTextElement.cpp111 if (child->isTextNode() in childShouldCreateRenderer()
/external/webkit/Source/WebCore/xml/
DXPathUtil.cpp58 if (n->isTextNode()) { in stringValue()
/external/webkit/Source/WebKit/android/WebCoreSupport/autofill/
DFormManagerAndroid.cpp166 if (previous->isTextNode()) { in InferLabelFromPrevious()
196 if (previous->isTextNode()) { in InferLabelFromPrevious()
213 if (previous->isTextNode()) { in InferLabelFromPrevious()
295 while (previous && previous->isTextNode()) in InferLabelFromDefinitionList()

123