HomeSort by relevance Sort by last modified time
    Searched defs:textNode (Results 1 - 25 of 28) sorted by null

1 2

  /external/chromium_org/third_party/WebKit/Source/core/editing/
CreateLinkCommand.cpp 52 RefPtrWillBeRawPtr<Text> textNode = Text::create(document(), m_url);
53 appendNode(textNode.get(), anchorElement.get());
InsertLineBreakCommand.cpp 119 Text* textNode = toText(pos.deprecatedNode());
120 splitTextNode(textNode, pos.deprecatedEditingOffset());
121 insertNodeBefore(nodeToInsert, textNode);
122 Position endingPosition = firstPositionInNode(textNode);
127 Position positionBeforeTextNode(positionInParentBeforeNode(*textNode));
130 ASSERT(!textNode->renderer() || textNode->renderer()->style()->collapseWhiteSpace());
131 // Deleting insignificant whitespace will remove textNode if it contains nothing but insignificant whitespace.
132 if (textNode->inDocument())
133 insertTextIntoNode(textNode, 0, nonBreakingSpaceString())
    [all...]
BreakBlockquoteCommand.cpp 114 Text* textNode = toText(startNode);
115 if ((unsigned)pos.deprecatedEditingOffset() >= textNode->length()) {
119 splitTextNode(textNode, pos.deprecatedEditingOffset());
InsertTextCommand.cpp 52 RefPtrWillBeRawPtr<Text> textNode = document().createEditingTextNode("");
53 insertNodeAtTabSpanPosition(textNode.get(), pos);
54 return firstPositionInNode(textNode.get());
60 RefPtrWillBeRawPtr<Text> textNode = document().createEditingTextNode("");
61 insertNodeAt(textNode.get(), pos);
62 return firstPositionInNode(textNode.get());
104 RefPtrWillBeRawPtr<Text> textNode = start.containerText();
105 if (!textNode)
108 unsigned count = std::min(text.length(), textNode->length() - start.offsetInContainerNode());
112 replaceTextInNode(textNode, start.offsetInContainerNode(), count, text)
    [all...]
VisibleSelectionTest.cpp 41 Text* textNode() const { return m_textNode.get(); }
50 m_wrap->m_selection.setBase(Position(textNode(), base));
51 m_wrap->m_selection.setExtent(Position(textNode(), extend));
FrameSelectionTest.cpp 35 Text* textNode() { return m_textNode.get(); }
70 VisibleSelection validSelection(Position(textNode(), 0), Position(textNode(), 5));
99 VisibleSelection validSelection(Position(textNode(), 0), Position(textNode(), 0));
106 document().body()->removeChild(textNode());
122 VisibleSelection validSelection(Position(textNode(), 0), Position(textNode(), 0));
InsertParagraphSeparatorCommand.cpp 352 Text* textNode = toText(leadingWhitespace.deprecatedNode());
353 ASSERT(!textNode->renderer() || textNode->renderer()->style()->collapseWhiteSpace());
354 replaceTextInNodePreservingMarkers(textNode, leadingWhitespace.deprecatedEditingOffset(), 1, nonBreakingSpaceString());
360 RefPtrWillBeRawPtr<Text> textNode = toText(insertionPosition.containerNode());
361 bool atEnd = static_cast<unsigned>(insertionPosition.offsetInContainerNode()) >= textNode->length();
363 splitTextNode(textNode, insertionPosition.offsetInContainerNode());
364 positionAfterSplit = firstPositionInNode(textNode.get());
365 insertionPosition.moveToPosition(textNode->previousSibling(), insertionPosition.offsetInContainerNode());
ApplyBlockElementCommand.cpp 163 Node* textNode = position.containerNode();
165 if (!textNode || !textNode->isTextNode() || offset < 0 || offset >= textNode->maxCharacterOffset())
169 String textAtPosition = toText(textNode)->substringData(offset, 1, exceptionState);
DeleteSelectionCommand.cpp 576 Text* textNode = toText(m_leadingWhitespace.deprecatedNode());
577 ASSERT(!textNode->renderer() || textNode->renderer()->style()->collapseWhiteSpace());
578 replaceTextInNodePreservingMarkers(textNode, m_leadingWhitespace.deprecatedEditingOffset(), 1, nonBreakingSpaceString());
581 Text* textNode = toText(m_trailingWhitespace.deprecatedNode());
582 ASSERT(!textNode->renderer() ||textNode->renderer()->style()->collapseWhiteSpace());
583 replaceTextInNodePreservingMarkers(textNode, m_trailingWhitespace.deprecatedEditingOffset(), 1, nonBreakingSpaceString());
    [all...]
VisiblePosition.cpp 642 Text* textNode = pos.containerText();
643 unsigned length = textNode->length();
647 return textNode->data().characterStartingAt(offset);
ReplaceSelectionCommand.cpp     [all...]
markup.cpp 263 Text& textNode = toText(node);
265 unsigned endOffset = textNode.length();
267 if (range && textNode == range->startContainer())
269 if (range && textNode == range->endContainer())
272 Position start = createLegacyEditingPosition(&textNode, startOffset);
273 Position end = createLegacyEditingPosition(&textNode, endOffset);
274 return plainText(Range::create(textNode.document(), start, end).get());
    [all...]
CompositeEditCommand.cpp 500 RefPtrWillBeRawPtr<Text> textNode = start.containerText();
501 replaceTextInNode(textNode, start.offsetInContainerNode(), end.offsetInContainerNode() - start.offsetInContainerNode(), text);
503 return Position(textNode.release(), start.offsetInContainerNode() + text.length());
616 Text* textNode = toText(node);
617 if (textNode->length() == 0)
620 RenderText* renderer = textNode->renderer();
648 RefPtrWillBeRawPtr<Text> textNode = prpTextNode;
650 String text = textNode->data();
666 VisiblePosition visibleUpstreamPos(Position(textNode, upstream));
667 VisiblePosition visibleDownstreamPos(Position(textNode, downstream))
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/shadow/
DateTimeFieldElement.cpp 215 Text* const textNode = toText(firstChild());
219 if (textNode->wholeText() == newVisibleValue)
222 textNode->replaceWholeText(newVisibleValue);
  /external/chromium_org/third_party/WebKit/Source/core/dom/
Attr.cpp 94 RefPtrWillBeRawPtr<Text> textNode = document().createTextNode(value().string());
98 textNode->setParentOrShadowHostNode(this);
99 treeScope().adoptIfNeeded(*textNode);
100 setFirstChild(textNode.get());
101 setLastChild(textNode.get());
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/
TextPrompt.js 576 var textNode = document.createTextNode(text);
577 this.autoCompleteElement.parentNode.replaceChild(textNode, this.autoCompleteElement);
581 finalSelectionRange.setStart(textNode, text.length);
582 finalSelectionRange.setEnd(textNode, text.length);
  /external/chromium_org/third_party/WebKit/Source/web/tests/
TextFinderTest.cpp 70 Node* textNode = document().body()->firstChild();
81 EXPECT_EQ(textNode, activeMatch->startContainer());
83 EXPECT_EQ(textNode, activeMatch->endContainer());
90 EXPECT_EQ(textNode, activeMatch->startContainer());
92 EXPECT_EQ(textNode, activeMatch->endContainer());
99 EXPECT_EQ(textNode, activeMatch->startContainer());
101 EXPECT_EQ(textNode, activeMatch->endContainer());
112 EXPECT_EQ(textNode, activeMatch->startContainer());
114 EXPECT_EQ(textNode, activeMatch->endContainer());
121 EXPECT_EQ(textNode, activeMatch->startContainer())
    [all...]
PrerenderingTest.cpp 228 WebNode textNode = consoleListItem.firstChild();
229 ASSERT(textNode.nodeName() == "#text");
231 return textNode.nodeValue().utf8().data();
  /external/chromium_org/third_party/WebKit/Source/core/css/
SelectorChecker.cpp 571 Text* textNode = toText(n);
572 if (!textNode->data().isEmpty()) {
    [all...]
  /external/chromium_org/third_party/sfntly/cpp/src/test/tinyxml/
tinyxmlparser.cpp 1192 TiXmlText* textNode = new TiXmlText( "" );
1194 if ( !textNode )
1201 p = textNode->Parse( p, data, encoding );
1207 p = textNode->Parse( pWithWhiteSpace, data, encoding );
1210 if ( !textNode->Blank() )
1211 LinkEndChild( textNode );
1213 delete textNode;
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/
HTMLTextFormControlElement.cpp 882 Text* textNode = toText(position.anchorNode());
884 if (textNode->length() == 0 || offset == 0) {
888 if (offset <= textNode->length() && textNode->data()[offset - 1] == '\n') {
889 return Position(textNode, offset - 1);
    [all...]
  /external/chromium_org/third_party/libxslt/libxslt/
xslt.c     [all...]
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/elements/
ElementsTreeOutline.js 779 var textNode = event.target.enclosingNodeOrSelfWithClass("webkit-html-text-node");
780 if (textNode && textNode.classList.contains("bogus"))
781 textNode = null;
784 if (textNode) {
786 treeElement._populateTextContextMenu(contextMenu, textNode);
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.pde.core_3.6.1.v20100902_r361.jar 
org.eclipse.debug.core_3.6.0.v20100519.jar 

Completed in 645 milliseconds

1 2