Home
last modified time | relevance | path

Searched refs:firstTextNode (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/
DUIUtils.js803 var firstTextNode = textNodeSnapshot.snapshotItem(startIndex);
804 var firstText = firstTextNode.textContent;
805 var anchorElement = firstTextNode.nextSibling;
807 firstTextNode.parentElement.insertBefore(highlightNode, anchorElement);
808 …de: highlightNode, type: "added", nextSibling: anchorElement, parent: firstTextNode.parentElement …
811firstTextNode.textContent = firstText.substring(0, startOffset - nodeRanges[startIndex].offset);
812 …changes.push({ node: firstTextNode, type: "changed", oldText: firstText, newText: firstTextNode.te…
/external/chromium_org/third_party/WebKit/Source/core/editing/
DApplyStyleCommand.cpp1250 Node* firstTextNode = parentElement->previousSibling()->lastChild(); in splitTextElementAtEnd() local
1251 if (!firstTextNode || !firstTextNode->isTextNode()) in splitTextElementAtEnd()
1254 …Position newStart = shouldUpdateStart ? Position(toText(firstTextNode), start.offsetInContainerNod… in splitTextElementAtEnd()
1255 updateStartEnd(newStart, positionAfterNode(firstTextNode)); in splitTextElementAtEnd()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DElement.cpp2320 Text* firstTextNode = 0; in textFromChildren() local
2328 if (!firstTextNode) in textFromChildren()
2329 firstTextNode = text; in textFromChildren()
2338 if (!firstTextNode) in textFromChildren()
2341 if (firstTextNode && !foundMultipleTextNodes) { in textFromChildren()
2342 firstTextNode->atomize(); in textFromChildren()
2343 return firstTextNode->data(); in textFromChildren()
2348 for (Node* child = firstTextNode; child; child = child->nextSibling()) { in textFromChildren()