/external/webkit/WebCore/html/ |
HTMLHeadElement.cpp | 53 bool HTMLHeadElement::childAllowed(Node* newChild) 56 if (newChild->isTextNode()) 57 return static_cast<Text*>(newChild)->containsOnlyWhitespace(); 59 return HTMLElement::childAllowed(newChild); 62 bool HTMLHeadElement::checkDTD(const Node* newChild) 64 return newChild->hasTagName(noscriptTag) || newChild->hasTagName(titleTag) || newChild->hasTagName(isindexTag) || 65 newChild->hasTagName(baseTag) || newChild->hasTagName(scriptTag) | [all...] |
HTMLHeadingElement.cpp | 36 bool HTMLHeadingElement::checkDTD(const Node* newChild) 38 if (newChild->hasTagName(h1Tag) || newChild->hasTagName(h2Tag) || 39 newChild->hasTagName(h3Tag) || newChild->hasTagName(h4Tag) || 40 newChild->hasTagName(h5Tag) || newChild->hasTagName(h6Tag)) 43 return inEitherTagList(newChild);
|
HTMLDataListElement.cpp | 48 bool HTMLDataListElement::checkDTD(const Node* newChild) 50 return newChild->hasTagName(HTMLNames::optionTag) || HTMLElement::inInlineTagList(newChild);
|
HTMLHeadElement.h | 38 virtual bool childAllowed(Node* newChild); 39 virtual bool checkDTD(const Node* newChild);
|
HTMLTitleElement.h | 34 virtual bool checkDTD(const Node* newChild) { return newChild->isTextNode(); }
|
HTMLDataGridRowElement.cpp | 44 bool HTMLDataGridRowElement::checkDTD(const Node* newChild) 46 if (newChild->isTextNode()) 47 return static_cast<const Text*>(newChild)->containsOnlyWhitespace(); 48 return newChild->hasTagName(drowTag) || newChild->hasTagName(dcellTag);
|
HTMLHtmlElement.cpp | 56 bool HTMLHtmlElement::checkDTD(const Node* newChild) 58 return newChild->hasTagName(headTag) || newChild->hasTagName(bodyTag) || 59 newChild->hasTagName(framesetTag) || newChild->hasTagName(noframesTag);
|
HTMLFieldSetElement.cpp | 46 bool HTMLFieldSetElement::checkDTD(const Node* newChild) 48 return newChild->hasTagName(legendTag) || HTMLElement::checkDTD(newChild);
|
HTMLHeadingElement.h | 35 virtual bool checkDTD(const Node* newChild);
|
HTMLDataGridElement.cpp | 53 bool HTMLDataGridElement::checkDTD(const Node* newChild) 55 if (newChild->isTextNode()) 56 return static_cast<const Text*>(newChild)->containsOnlyWhitespace(); 57 return newChild->hasTagName(dcolTag) || newChild->hasTagName(drowTag);
|
HTMLNoScriptElement.cpp | 43 bool HTMLNoScriptElement::checkDTD(const Node* newChild) 45 return newChild->isTextNode() || inBlockTagList(newChild);
|
HTMLOptGroupElement.h | 48 virtual bool insertBefore(PassRefPtr<Node> newChild, Node* refChild, ExceptionCode&, bool shouldLazyAttach = false); 49 virtual bool replaceChild(PassRefPtr<Node> newChild, Node* oldChild, ExceptionCode&, bool shouldLazyAttach = false); 51 virtual bool appendChild(PassRefPtr<Node> newChild, ExceptionCode&, bool shouldLazyAttach = false);
|
HTMLStyleElement.h | 37 virtual bool checkDTD(const Node* newChild) { return newChild->isTextNode(); }
|
HTMLOptGroupElement.cpp | 64 bool HTMLOptGroupElement::insertBefore(PassRefPtr<Node> newChild, Node* refChild, ExceptionCode& ec, bool shouldLazyAttach) 66 bool result = HTMLFormControlElement::insertBefore(newChild, refChild, ec, shouldLazyAttach); 70 bool HTMLOptGroupElement::replaceChild(PassRefPtr<Node> newChild, Node* oldChild, ExceptionCode& ec, bool shouldLazyAttach) 72 bool result = HTMLFormControlElement::replaceChild(newChild, oldChild, ec, shouldLazyAttach); 82 bool HTMLOptGroupElement::appendChild(PassRefPtr<Node> newChild, ExceptionCode& ec, bool shouldLazyAttach) 84 bool result = HTMLFormControlElement::appendChild(newChild, ec, shouldLazyAttach); 125 bool HTMLOptGroupElement::checkDTD(const Node* newChild) 128 return newChild->isTextNode() || newChild->hasTagName(HTMLNames::optionTag) || newChild->hasTagName(HTMLNames::hrTag) || newChild->hasTagName(HTMLNames::scriptTag) [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/xalan/templates/ |
ElemText.java | 123 * @param newChild Child to add to children list 129 public ElemTemplateElement appendChild(ElemTemplateElement newChild) 132 int type = ((ElemTemplateElement) newChild).getXSLToken(); 140 new Object[]{ newChild.getNodeName(), 141 this.getNodeName() }); //"Can not add " +((ElemTemplateElement)newChild).m_elemName + 146 return super.appendChild(newChild);
|
ElemAttributeSet.java | 138 * @param newChild Child to be added to this node's list of children 144 public ElemTemplateElement appendChildElem(ElemTemplateElement newChild) 147 int type = ((ElemTemplateElement) newChild).getXSLToken(); 155 new Object[]{ newChild.getNodeName(), 156 this.getNodeName() }); //"Can not add " +((ElemTemplateElement)newChild).m_elemName + 161 return super.appendChild(newChild);
|
/frameworks/base/media/libdrm/mobile2/src/util/domcore/ |
NodeImpl.cpp | 79 NodeImpl* NodeImpl::insertBefore(NodeImpl* newChild, NodeImpl* refChild) throw (DOMException)
81 if (newChild == NULL) 94 NodeImpl* parentNode = newChild->getParentNode();
97 parentNode->removeChild(newChild);
102 prevSiblingNode->appendNextSibling(newChild);
104 setFirstChild(newChild);
106 newChild->appendNextSibling(refChild);
107 newChild->setParent(this);
109 return newChild;
179 NodeImpl* NodeImpl::appendChild(NodeImpl* newChild) throw (DOMException) [all...] |
/external/webkit/WebCore/rendering/ |
CounterNode.cpp | 129 void CounterNode::insertAfter(CounterNode* newChild, CounterNode* refChild, const AtomicString& identifier) 131 ASSERT(newChild); 132 ASSERT(!newChild->m_parent); 133 ASSERT(!newChild->m_previousSibling); 134 ASSERT(!newChild->m_nextSibling); 137 if (newChild->m_hasResetType) { 146 refChild->m_nextSibling = newChild; 149 m_firstChild = newChild; 152 newChild->m_parent = this; 153 newChild->m_previousSibling = refChild [all...] |
/dalvik/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
hc_nodeappendchildgetnodename.java | 31 * The "appendChild(newChild)" method returns the node 68 Node newChild; 75 newChild = doc.createElement("br"); 76 appendNode = employeeNode.appendChild(newChild);
|
hc_nodeappendchildinvalidnodetype.java | 31 * The "appendChild(newChild)" method raises a 33 * a type that does not allow children of the type "newChild" 71 Node newChild; 75 newChild = doc.createAttribute("newAttribute"); 80 appendedChild = rootNode.appendChild(newChild);
|
nodeappendchildgetnodename.java | 31 * The "appendChild(newChild)" method returns the node 36 * "getNodeName()" method should return "newChild". 68 Node newChild; 75 newChild = doc.createElement("newChild"); 76 appendNode = employeeNode.appendChild(newChild); 78 assertEquals("nodeAppendChildGetNodeNameAssert1", "newChild", childName);
|
nodeappendchildinvalidnodetype.java | 31 * The "appendChild(newChild)" method raises a 33 * a type that does not allow children of the type "newChild" 72 Node newChild; 76 newChild = doc.createAttribute("newAttribute"); 81 appendedChild = rootNode.appendChild(newChild);
|
nodeappendchildnodeancestor.java | 31 * The "appendChild(newChild)" method raises a 70 Node newChild; 75 newChild = doc.getDocumentElement(); 82 appendedChild = employeeNode.appendChild(newChild);
|
nodeappendchildchildexists.java | 31 * If the "newChild" is already in the tree, it is first 36 * the "appendChild(newChild)" method is invoked the first 68 Node newChild; 78 newChild = childNode.getFirstChild(); 79 initialName = newChild.getNodeName(); 80 appendedChild = childNode.appendChild(newChild);
|
/external/webkit/WebCore/wml/ |
WMLOptGroupElement.h | 39 virtual bool insertBefore(PassRefPtr<Node> newChild, Node* refChild, ExceptionCode&, bool shouldLazyAttach = false); 40 virtual bool replaceChild(PassRefPtr<Node> newChild, Node* oldChild, ExceptionCode&, bool shouldLazyAttach = false); 42 virtual bool appendChild(PassRefPtr<Node> newChild, ExceptionCode&, bool shouldLazyAttach = false);
|