/external/webkit/LayoutTests/fast/dom/Selection/script-tests/ |
collapseToX-empty-selection.js | 4 var textNode = document.createTextNode("abcdef"); 5 document.body.appendChild(textNode); 10 sel.selectAllChildren(textNode); 15 document.body.removeChild(textNode);
|
getRangeAt.js | 5 var textNode = document.createTextNode("asd"); 6 div.appendChild(textNode); 9 sel.collapse(textNode, 0); 12 var result = range.comparePoint(textNode, 0);
|
/external/webkit/Source/WebCore/editing/ |
CreateLinkCommand.cpp | 53 RefPtr<Text> textNode = Text::create(document(), m_url); 54 appendNode(textNode.get(), anchorElement.get());
|
InsertLineBreakCommand.cpp | 140 Text* textNode = static_cast<Text*>(pos.deprecatedNode()); 141 splitTextNode(textNode, pos.deprecatedEditingOffset()); 142 insertNodeBefore(nodeToInsert, textNode); 143 Position endingPosition = firstPositionInNode(textNode); 148 Position positionBeforeTextNode(positionInParentBeforeNode(textNode)); 151 ASSERT(!textNode->renderer() || textNode->renderer()->style()->collapseWhiteSpace()); 152 // Deleting insignificant whitespace will remove textNode if it contains nothing but insignificant whitespace. 153 if (textNode->inDocument()) 154 insertTextIntoNode(textNode, 0, nonBreakingSpaceString()) [all...] |
BreakBlockquoteCommand.cpp | 110 Text* textNode = static_cast<Text*>(startNode); 111 if ((unsigned)pos.deprecatedEditingOffset() >= textNode->length()) { 115 splitTextNode(textNode, pos.deprecatedEditingOffset());
|
InsertTextCommand.cpp | 54 RefPtr<Node> textNode = document()->createEditingTextNode(""); 55 insertNodeAtTabSpanPosition(textNode.get(), pos); 56 return firstPositionInNode(textNode.get()); 62 RefPtr<Node> textNode = document()->createEditingTextNode(""); 63 insertNodeAt(textNode.get(), pos); 64 return firstPositionInNode(textNode.get()); 168 Text* textNode = static_cast<Text*>(startPosition.containerNode()); 171 insertTextIntoNode(textNode, offset, text); 172 endPosition = Position(textNode, offset + text.length(), Position::PositionIsOffsetInAnchor); 183 rebalanceWhitespaceOnTextSubstring(textNode, startPosition.offsetInContainerNode(), endPosition.offsetInContainerNode()) [all...] |
/external/webkit/Source/WebCore/inspector/front-end/ |
TextPrompt.js | 135 var textNode = document.createTextNode(text); 136 this.autoCompleteElement.parentNode.replaceChild(textNode, this.autoCompleteElement); 140 finalSelectionRange.setStart(textNode, text.length); 141 finalSelectionRange.setEnd(textNode, text.length);
|
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
attrremovechild1.java | 63 Text textNode; 71 textNode = (Text) attrNode.getFirstChild(); 72 assertNotNull("attrChildNotNull", textNode); 77 removedNode = attrNode.removeChild(textNode);
|
hc_nodechildnodesempty.java | 68 Node textNode; 73 textNode = employeeNode.getFirstChild(); 74 childList = textNode.getChildNodes();
|
hc_nodelistindexgetlengthofemptylist.java | 67 Node textNode; 73 textNode = emNode.getFirstChild(); 74 textList = textNode.getChildNodes();
|
hc_nodetextnodeattribute.java | 65 Node textNode; 70 textNode = testAddr.getFirstChild(); 71 attrList = textNode.getAttributes();
|
hc_nodetextnodename.java | 61 Node textNode; 66 textNode = testAddr.getFirstChild(); 67 textName = textNode.getNodeName();
|
hc_nodetextnodetype.java | 65 Node textNode; 70 textNode = testAddr.getFirstChild(); 71 nodeType = (int) textNode.getNodeType();
|
hc_nodetextnodevalue.java | 66 Node textNode; 71 textNode = testAddr.getFirstChild(); 72 textValue = textNode.getNodeValue();
|
hc_textindexsizeerroffsetoutofbounds.java | 71 Text textNode; 76 textNode = (Text) nameNode.getFirstChild(); 81 splitNode = textNode.splitText(300);
|
hc_textsplittextfour.java | 68 Text textNode; 74 textNode = (Text) addressNode.getFirstChild(); 75 splitNode = textNode.splitText(30);
|
hc_textsplittextone.java | 69 Text textNode; 76 textNode = (Text) nameNode.getFirstChild(); 77 splitNode = textNode.splitText(7); 78 secondPart = textNode.getNextSibling();
|
hc_textsplittextthree.java | 70 Text textNode; 76 textNode = (Text) nameNode.getFirstChild(); 77 splitNode = textNode.splitText(6);
|
hc_textsplittexttwo.java | 69 Text textNode; 75 textNode = (Text) nameNode.getFirstChild(); 76 splitNode = textNode.splitText(5); 77 value = textNode.getNodeValue();
|
nodechildnodesempty.java | 69 Node textNode; 76 textNode = secondCNode.getFirstChild(); 77 childNodesList = textNode.getChildNodes();
|
nodegetfirstchildnull.java | 68 Node textNode; 75 textNode = secondChildNode.getFirstChild(); 76 noChildNode = textNode.getFirstChild();
|
nodegetlastchildnull.java | 68 Node textNode; 75 textNode = secondChildNode.getFirstChild(); 76 noChildNode = textNode.getLastChild();
|
nodehaschildnodesfalse.java | 69 Node textNode; 76 textNode = employeeNode.getFirstChild(); 77 state = textNode.hasChildNodes();
|
nodelistindexgetlengthofemptylist.java | 69 Node textNode; 76 textNode = childNode.getFirstChild(); 77 textList = textNode.getChildNodes();
|
nodetextnodeattribute.java | 66 Node textNode; 71 textNode = testAddr.getFirstChild(); 72 attrList = textNode.getAttributes();
|