/external/webkit/LayoutTests/dom/xhtml/level1/core/ |
D | hc_attrchildnodes2.js | 93 var textNode; 109 textNode = doc.createTextNode("terday"); 110 retval = titleAttr.appendChild(textNode); 112 textNode = childNodes.item(0); 113 value = textNode.nodeValue; 116 textNode = childNodes.item(1); 117 value = textNode.nodeValue; 120 textNode = childNodes.item(2); 121 assertNull("thirdItemIsNull",textNode);
|
D | hc_attrfirstchild.js | 94 var textNode; 107 textNode = titleAttr.firstChild; 109 assertNotNull("textNodeNotNull",textNode); 110 value = textNode.nodeValue; 113 otherChild = textNode.nextSibling; 116 otherChild = textNode.previousSibling;
|
D | hc_attrlastchild.js | 94 var textNode; 107 textNode = titleAttr.firstChild; 109 assertNotNull("textNodeNotNull",textNode); 110 value = textNode.nodeValue; 113 otherChild = textNode.nextSibling; 116 otherChild = textNode.previousSibling;
|
D | hc_attrchildnodes1.js | 94 var textNode; 110 textNode = childNodes.item(0); 111 value = textNode.nodeValue; 114 textNode = childNodes.item(1); 115 assertNull("secondItemIsNull",textNode);
|
D | hc_elementnormalize.js | 94 var textNode; 104 textNode = doc.createTextNode(""); 105 retNode = testName.appendChild(textNode); 106 textNode = doc.createTextNode(",000"); 107 retNode = testName.appendChild(textNode);
|
D | hc_attrnormalize.js | 94 var textNode; 109 textNode = doc.createTextNode("terday"); 110 retval = titleAttr.appendChild(textNode); 111 textNode = doc.createTextNode(""); 112 retval = titleAttr.appendChild(textNode);
|
D | hc_textsplittexttwo.js | 98 var textNode; 109 textNode = nameNode.firstChild; 111 splitNode = textNode.splitText(5); 112 value = textNode.nodeValue;
|
D | hc_textsplittextone.js | 98 var textNode; 110 textNode = nameNode.firstChild; 112 splitNode = textNode.splitText(7); 113 secondPart = textNode.nextSibling;
|
/external/webkit/LayoutTests/dom/html/level1/core/ |
D | hc_attrchildnodes2.js | 93 var textNode; 109 textNode = doc.createTextNode("terday"); 110 retval = titleAttr.appendChild(textNode); 112 textNode = childNodes.item(0); 113 value = textNode.nodeValue; 116 textNode = childNodes.item(1); 117 value = textNode.nodeValue; 120 textNode = childNodes.item(2); 121 assertNull("thirdItemIsNull",textNode);
|
D | hc_attrlastchild.js | 94 var textNode; 107 textNode = titleAttr.firstChild; 109 assertNotNull("textNodeNotNull",textNode); 110 value = textNode.nodeValue; 113 otherChild = textNode.nextSibling; 116 otherChild = textNode.previousSibling;
|
D | hc_attrfirstchild.js | 94 var textNode; 107 textNode = titleAttr.firstChild; 109 assertNotNull("textNodeNotNull",textNode); 110 value = textNode.nodeValue; 113 otherChild = textNode.nextSibling; 116 otherChild = textNode.previousSibling;
|
D | hc_attrchildnodes1.js | 94 var textNode; 110 textNode = childNodes.item(0); 111 value = textNode.nodeValue; 114 textNode = childNodes.item(1); 115 assertNull("secondItemIsNull",textNode);
|
D | hc_elementnormalize.js | 94 var textNode; 104 textNode = doc.createTextNode(""); 105 retNode = testName.appendChild(textNode); 106 textNode = doc.createTextNode(",000"); 107 retNode = testName.appendChild(textNode);
|
D | hc_attrnormalize.js | 94 var textNode; 109 textNode = doc.createTextNode("terday"); 110 retval = titleAttr.appendChild(textNode); 111 textNode = doc.createTextNode(""); 112 retval = titleAttr.appendChild(textNode);
|
D | hc_textsplittexttwo.js | 98 var textNode; 109 textNode = nameNode.firstChild; 111 splitNode = textNode.splitText(5); 112 value = textNode.nodeValue;
|
D | hc_textsplittextone.js | 98 var textNode; 110 textNode = nameNode.firstChild; 112 splitNode = textNode.splitText(7); 113 secondPart = textNode.nextSibling;
|
/external/webkit/LayoutTests/dom/xhtml/level3/core/ |
D | textreplacewholetext07.js | 97 var textNode; 113 textNode = doc.createTextNode("New Text"); 115 appendedChild = elementName.appendChild(textNode); 116 textNode = elementName.firstChild; 118 replacedText = textNode.replaceWholeText("New Text and Cdata"); 119 textNode = elementName.firstChild; 121 assertSame("retval_same",textNode,replacedText); 122 nodeValue = textNode.nodeValue; 125 node = textNode.nextSibling;
|
D | nodegetbaseuri19.js | 97 var textNode; 111 textNode = pElem.firstChild; 113 assertNotNull("expansionNotNull",textNode); 121 textNode = entRef.firstChild; 123 assertNotNull("entRefTextNotNull",textNode); 126 baseURI = textNode.baseURI;
|
D | textreplacewholetext06.js | 102 var textNode; 115 textNode = doc.createTextNode("New Text"); 117 appendedChild = elementStrong.appendChild(textNode); 119 textNode = elementStrong.firstChild; 121 replacedText = textNode.replaceWholeText("New Text and Cdata"); 122 nodeValue = textNode.nodeValue;
|
D | textreplacewholetext05.js | 92 var textNode; 105 textNode = doc.createTextNode("New Text"); 107 appendedChild = elementName.appendChild(textNode); 109 textNode = elementName.firstChild; 111 replacedText = textNode.replaceWholeText("New Text and Cdata");
|
D | textiselementcontentwhitespace04.js | 91 var textNode; 114 textNode = pElem.firstChild; 117 replacedNode = pElem.replaceChild(blankNode,textNode); 119 textNode = pElem.firstChild; 121 isElemContentWhitespace = textNode.isElementContentWhitespace;
|
/external/webkit/Source/WebCore/editing/ |
D | InsertTextCommand.cpp | 54 RefPtr<Node> textNode = document()->createEditingTextNode(""); in positionInsideTextNode() local 55 insertNodeAtTabSpanPosition(textNode.get(), pos); in positionInsideTextNode() 56 return firstPositionInNode(textNode.get()); in positionInsideTextNode() 62 RefPtr<Node> textNode = document()->createEditingTextNode(""); in positionInsideTextNode() local 63 insertNodeAt(textNode.get(), pos); in positionInsideTextNode() 64 return firstPositionInNode(textNode.get()); in positionInsideTextNode() 168 Text* textNode = static_cast<Text*>(startPosition.containerNode()); in input() local 171 insertTextIntoNode(textNode, offset, text); in input() 172 … endPosition = Position(textNode, offset + text.length(), Position::PositionIsOffsetInAnchor); in input() 183 …rebalanceWhitespaceOnTextSubstring(textNode, startPosition.offsetInContainerNode(), endPosition.of… in input() [all …]
|
D | InsertLineBreakCommand.cpp | 140 Text* textNode = static_cast<Text*>(pos.deprecatedNode()); in doApply() local 141 splitTextNode(textNode, pos.deprecatedEditingOffset()); in doApply() 142 insertNodeBefore(nodeToInsert, textNode); in doApply() 143 Position endingPosition = firstPositionInNode(textNode); in doApply() 148 Position positionBeforeTextNode(positionInParentBeforeNode(textNode)); in doApply() 151 ASSERT(!textNode->renderer() || textNode->renderer()->style()->collapseWhiteSpace()); in doApply() 153 if (textNode->inDocument()) in doApply() 154 insertTextIntoNode(textNode, 0, nonBreakingSpaceString()); in doApply()
|
/external/webkit/LayoutTests/fast/dom/Selection/script-tests/ |
D | collapseToX-empty-selection.js | 4 var textNode = document.createTextNode("abcdef"); variable 5 document.body.appendChild(textNode); 10 sel.selectAllChildren(textNode); 15 document.body.removeChild(textNode);
|
D | getRangeAt.js | 5 var textNode = document.createTextNode("asd"); variable 6 div.appendChild(textNode); 9 sel.collapse(textNode, 0); 12 var result = range.comparePoint(textNode, 0);
|