Searched refs:textNodeOffset (Results 1 – 2 of 2) sorted by relevance
1004 var textNodeOffset;1011 textNodeOffset = startOffset - snapshotNodeOffset;1021 textNodeOffset = 0;1029 if (textNodeOffset + resultLength < text.length) {1031 textNode.textContent = text.substring(textNodeOffset + resultLength);1033 var prefixNode = document.createTextNode(text.substring(0, textNodeOffset));1043 length -= text.length - textNodeOffset;1044 textNode.textContent = text.substring(0, textNodeOffset);
1265 int textNodeOffset = insertPos.offsetInContainerNode(); in insertAsListItems() local1266 if (insertPos.deprecatedNode()->isTextNode() && textNodeOffset > 0) in insertAsListItems()1267 splitTextNode(static_cast<Text*>(insertPos.deprecatedNode()), textNodeOffset); in insertAsListItems()