Home
last modified time | relevance | path

Searched refs:textNode (Results 1 – 25 of 126) sorted by relevance

123456

/external/webkit/LayoutTests/dom/xhtml/level1/core/
Dhc_attrchildnodes2.js93 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);
Dhc_attrfirstchild.js94 var textNode;
107 textNode = titleAttr.firstChild;
109 assertNotNull("textNodeNotNull",textNode);
110 value = textNode.nodeValue;
113 otherChild = textNode.nextSibling;
116 otherChild = textNode.previousSibling;
Dhc_attrlastchild.js94 var textNode;
107 textNode = titleAttr.firstChild;
109 assertNotNull("textNodeNotNull",textNode);
110 value = textNode.nodeValue;
113 otherChild = textNode.nextSibling;
116 otherChild = textNode.previousSibling;
Dhc_attrchildnodes1.js94 var textNode;
110 textNode = childNodes.item(0);
111 value = textNode.nodeValue;
114 textNode = childNodes.item(1);
115 assertNull("secondItemIsNull",textNode);
Dhc_elementnormalize.js94 var textNode;
104 textNode = doc.createTextNode("");
105 retNode = testName.appendChild(textNode);
106 textNode = doc.createTextNode(",000");
107 retNode = testName.appendChild(textNode);
Dhc_attrnormalize.js94 var textNode;
109 textNode = doc.createTextNode("terday");
110 retval = titleAttr.appendChild(textNode);
111 textNode = doc.createTextNode("");
112 retval = titleAttr.appendChild(textNode);
Dhc_textsplittexttwo.js98 var textNode;
109 textNode = nameNode.firstChild;
111 splitNode = textNode.splitText(5);
112 value = textNode.nodeValue;
Dhc_textsplittextone.js98 var textNode;
110 textNode = nameNode.firstChild;
112 splitNode = textNode.splitText(7);
113 secondPart = textNode.nextSibling;
/external/webkit/LayoutTests/dom/html/level1/core/
Dhc_attrchildnodes2.js93 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);
Dhc_attrlastchild.js94 var textNode;
107 textNode = titleAttr.firstChild;
109 assertNotNull("textNodeNotNull",textNode);
110 value = textNode.nodeValue;
113 otherChild = textNode.nextSibling;
116 otherChild = textNode.previousSibling;
Dhc_attrfirstchild.js94 var textNode;
107 textNode = titleAttr.firstChild;
109 assertNotNull("textNodeNotNull",textNode);
110 value = textNode.nodeValue;
113 otherChild = textNode.nextSibling;
116 otherChild = textNode.previousSibling;
Dhc_attrchildnodes1.js94 var textNode;
110 textNode = childNodes.item(0);
111 value = textNode.nodeValue;
114 textNode = childNodes.item(1);
115 assertNull("secondItemIsNull",textNode);
Dhc_elementnormalize.js94 var textNode;
104 textNode = doc.createTextNode("");
105 retNode = testName.appendChild(textNode);
106 textNode = doc.createTextNode(",000");
107 retNode = testName.appendChild(textNode);
Dhc_attrnormalize.js94 var textNode;
109 textNode = doc.createTextNode("terday");
110 retval = titleAttr.appendChild(textNode);
111 textNode = doc.createTextNode("");
112 retval = titleAttr.appendChild(textNode);
Dhc_textsplittexttwo.js98 var textNode;
109 textNode = nameNode.firstChild;
111 splitNode = textNode.splitText(5);
112 value = textNode.nodeValue;
Dhc_textsplittextone.js98 var textNode;
110 textNode = nameNode.firstChild;
112 splitNode = textNode.splitText(7);
113 secondPart = textNode.nextSibling;
/external/webkit/LayoutTests/dom/xhtml/level3/core/
Dtextreplacewholetext07.js97 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;
Dnodegetbaseuri19.js97 var textNode;
111 textNode = pElem.firstChild;
113 assertNotNull("expansionNotNull",textNode);
121 textNode = entRef.firstChild;
123 assertNotNull("entRefTextNotNull",textNode);
126 baseURI = textNode.baseURI;
Dtextreplacewholetext06.js102 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;
Dtextreplacewholetext05.js92 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");
Dtextiselementcontentwhitespace04.js91 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/
DInsertTextCommand.cpp54 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 …]
DInsertLineBreakCommand.cpp140 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/
DcollapseToX-empty-selection.js4 var textNode = document.createTextNode("abcdef"); variable
5 document.body.appendChild(textNode);
10 sel.selectAllChildren(textNode);
15 document.body.removeChild(textNode);
DgetRangeAt.js5 var textNode = document.createTextNode("asd"); variable
6 div.appendChild(textNode);
9 sel.collapse(textNode, 0);
12 var result = range.comparePoint(textNode, 0);

123456