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/
DUIUtils.js1087 var firstTextNode = textNodeSnapshot.snapshotItem(startIndex);
1088 var firstText = firstTextNode.textContent;
1089 var anchorElement = firstTextNode.nextSibling;
1091 firstTextNode.parentElement.insertBefore(highlightNode, anchorElement);
1092 …de: highlightNode, type: "added", nextSibling: anchorElement, parent: firstTextNode.parentElement …
1095firstTextNode.textContent = firstText.substring(0, startOffset - nodeRanges[startIndex].offset);
1096 …changes.push({ node: firstTextNode, type: "changed", oldText: firstText, newText: firstTextNode.te…
/external/chromium_org/third_party/WebKit/Source/core/editing/
DApplyStyleCommand.cpp1235 Node* firstTextNode = parentElement->previousSibling()->lastChild(); in splitTextElementAtEnd() local
1236 if (!firstTextNode || !firstTextNode->isTextNode()) in splitTextElementAtEnd()
1239 …Position newStart = shouldUpdateStart ? Position(toText(firstTextNode), start.offsetInContainerNod… in splitTextElementAtEnd()
1240 updateStartEnd(newStart, positionAfterNode(firstTextNode)); in splitTextElementAtEnd()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DElement.cpp2395 Text* firstTextNode = 0; in textFromChildren() local
2403 if (!firstTextNode) in textFromChildren()
2404 firstTextNode = text; in textFromChildren()
2413 if (!firstTextNode) in textFromChildren()
2416 if (firstTextNode && !foundMultipleTextNodes) { in textFromChildren()
2417 firstTextNode->atomize(); in textFromChildren()
2418 return firstTextNode->data(); in textFromChildren()
2423 for (Node* child = firstTextNode; child; child = child->nextSibling()) { in textFromChildren()