Home
last modified time | relevance | path

Searched refs:newElement (Results 1 – 25 of 26) sorted by relevance

12

/external/webkit/LayoutTests/dom/xhtml/level1/core/
Dhc_documentcreateelement.js93 var newElement;
103 newElement = doc.createElement("acronym");
104 newElementName = newElement.nodeName;
107 newElementType = newElement.nodeType;
110 newElementValue = newElement.nodeValue;
Dhc_elementinuseattributeerr.js95 var newElement;
108 newElement = doc.createElement("p");
109 appendedChild = testAddress.appendChild(newElement);
111 setAttr1 = newElement.setAttributeNode(newAttribute);
/external/webkit/LayoutTests/dom/html/level1/core/
Dhc_documentcreateelement.js93 var newElement;
103 newElement = doc.createElement("acronym");
104 newElementName = newElement.nodeName;
107 newElementType = newElement.nodeType;
110 newElementValue = newElement.nodeValue;
Dhc_elementinuseattributeerr.js95 var newElement;
108 newElement = doc.createElement("p");
109 appendedChild = testAddress.appendChild(newElement);
111 setAttr1 = newElement.setAttributeNode(newAttribute);
/external/webkit/LayoutTests/dom/xhtml/level3/core/
Dnodegetbaseuri07.js91 var newElement;
105 newElement = doc.createElementNS(htmlNS,"meta");
106 newElement.setAttribute("content","text/xml");
107 appended = bodyElem.appendChild(newElement);
108 baseURI = newElement.baseURI;
Dnodereplacechild30.js94 var newElement;
111 newElement = doc.createElementNS("http://www.w3.org/1999/xhtml","xhtml:body");
113 appendedChild = parent.appendChild(newElement);
124 replaced = parent.replaceChild(newElement,oldChild);
128 replaced = parent.replaceChild(oldChild,newElement);
Dnodereplacechild39.js92 var newElement;
106 newElement = doc.createElementNS(rootNS,rootName);
111 retNode = doc.replaceChild(newElement,newComment);
Dnodegetbaseuri06.js92 var newElement;
100 newElement = doc.createElementNS("http://www.w3.org/1999/xhtml","br");
/external/webkit/Source/WebCore/dom/
DXMLDocumentParserQt.cpp341 static inline void handleElementNamespaces(Element* newElement, const QXmlStreamNamespaceDeclaratio… in handleElementNamespaces() argument
349newElement->setAttributeNS("http://www.w3.org/2000/xmlns/", namespaceQName, namespaceURI, ec, scri… in handleElementNamespaces()
355 static inline void handleElementAttributes(Element* newElement, const QXmlStreamAttributes &attrs, … in handleElementAttributes() argument
364 newElement->setAttributeNS(attrURI, attrQName, attrValue, ec, scriptingPermission); in handleElementAttributes()
495 RefPtr<Element> newElement = document()->createElement(qName, true); in parseStartElement() local
496 if (!newElement) { in parseStartElement()
524 …handleElementNamespaces(newElement.get(), m_stream.namespaceDeclarations(), ec, m_scriptingPermiss… in parseStartElement()
530 handleElementAttributes(newElement.get(), m_stream.attributes(), ec, m_scriptingPermission); in parseStartElement()
536 ScriptElement* scriptElement = toScriptElement(newElement.get()); in parseStartElement()
540 m_currentNode->deprecatedParserAddChild(newElement.get()); in parseStartElement()
[all …]
Dxml_expat_tokenizer.cpp394 static inline void handleElementNamespaces(Element *newElement, const String &uri, const String &pr… in handleElementNamespaces() argument
402newElement->setAttributeNS(String("http://www.w3.org/2000/xmlns/"), namespaceQName, uri, exception… in handleElementNamespaces()
405 static inline void handleElementAttributes(Element *newElement, const XML_Char **atts, ExceptionCod… in handleElementAttributes() argument
412 newElement->setAttributeNS(attrURI, attrQName, attrValue, exceptioncode); in handleElementAttributes()
444 RefPtr<Element> newElement = m_doc->createElementNS(uri, qName, ec); in startElementNs() local
445 if (!newElement) { in startElementNs()
450 handleElementNamespaces(newElement.get(), uri, prefix, ec); in startElementNs()
456 handleElementAttributes(newElement.get(), atts, ec); in startElementNs()
462 if (newElement->hasTagName(scriptTag)) in startElementNs()
463 static_cast<HTMLScriptElement*>(newElement.get())->setCreatedByParser(true); in startElementNs()
[all …]
DXMLDocumentParserLibxml2.cpp706 static inline void handleElementNamespaces(Element* newElement, const xmlChar** libxmlNamespaces, i… in handleElementNamespaces() argument
714newElement->setAttributeNS(XMLNSNames::xmlnsNamespaceURI, namespaceQName, namespaceURI, ec, script… in handleElementNamespaces()
729 static inline void handleElementAttributes(Element* newElement, const xmlChar** libxmlAttributes, i… in handleElementAttributes() argument
739 newElement->setAttributeNS(attrURI, attrQName, attrValue, ec, scriptingPermission); in handleElementAttributes()
800 RefPtr<Element> newElement = document()->createElement(qName, true); in startElementNs() local
801 if (!newElement) { in startElementNs()
807 …handleElementNamespaces(newElement.get(), libxmlNamespaces, nb_namespaces, ec, m_scriptingPermissi… in startElementNs()
813 …handleElementAttributes(newElement.get(), libxmlAttributes, nb_attributes, ec, m_scriptingPermissi… in startElementNs()
819 newElement->beginParsingChildren(); in startElementNs()
821 ScriptElement* scriptElement = toScriptElement(newElement.get()); in startElementNs()
[all …]
DDocument.cpp806 …RefPtr<Element> newElement = createElementNS(oldElement->namespaceURI(), oldElement->tagQName().to… in importNode() local
816 newElement->setAttribute(attr->name(), attr->value().impl(), ec); in importNode()
822 newElement->copyNonAttributeProperties(oldElement); in importNode()
829 newElement->appendChild(newChild.release(), ec); in importNode()
835 return newElement.release(); in importNode()
/external/icu4c/common/
Dudata.cpp329 DataCacheElement *newElement; in udata_cacheDataItem() local
343 newElement = (DataCacheElement *)uprv_malloc(sizeof(DataCacheElement)); in udata_cacheDataItem()
344 if (newElement == NULL) { in udata_cacheDataItem()
348 newElement->item = UDataMemory_createNewInstance(pErr); in udata_cacheDataItem()
350 uprv_free(newElement); in udata_cacheDataItem()
353 UDatamemory_assign(newElement->item, item); in udata_cacheDataItem()
357 newElement->name = (char *)uprv_malloc(nameLen+1); in udata_cacheDataItem()
358 if (newElement->name == NULL) { in udata_cacheDataItem()
360 uprv_free(newElement->item); in udata_cacheDataItem()
361 uprv_free(newElement); in udata_cacheDataItem()
[all …]
/external/webkit/Source/WebCore/html/parser/
DHTMLFormattingElementList.cpp76 void HTMLFormattingElementList::swapTo(Element* oldElement, Element* newElement, const Bookmark& bo… in swapTo() argument
79 ASSERT(!contains(newElement)); in swapTo()
82 bookmark.mark()->replaceElement(newElement); in swapTo()
87 m_entries.insert(index + 1, newElement); in swapTo()
DHTMLFormattingElementList.h114 void swapTo(Element* oldElement, Element* newElement, const Bookmark&);
DHTMLTreeBuilder.cpp1657 RefPtr<Element> newElement = m_tree.createHTMLElementFromElementRecord(node); in callTheAdoptionAgency() local
1659 nodeEntry->replaceElement(newElement.get()); in callTheAdoptionAgency()
1660 node->replaceElement(newElement.release()); in callTheAdoptionAgency()
1693 … RefPtr<Element> newElement = m_tree.createHTMLElementFromElementRecord(formattingElementRecord); in callTheAdoptionAgency() local
1695 newElement->takeAllChildrenFrom(furthestBlock->element()); in callTheAdoptionAgency()
1701 furthestBlockElement->parserAddChild(newElement); in callTheAdoptionAgency()
1702 if (furthestBlockElement->attached() && !newElement->attached()) { in callTheAdoptionAgency()
1705 newElement->attach(); in callTheAdoptionAgency()
1708 m_tree.activeFormattingElements()->swapTo(formattingElement, newElement.get(), bookmark); in callTheAdoptionAgency()
1711 m_tree.openElements()->insertAbove(newElement, furthestBlock); in callTheAdoptionAgency()
/external/webkit/Source/WebKit/win/
DDOMCoreClasses.cpp472 IDOMElement* newElement = DOMElement::createInstance(static_cast<WebCore::Element*>(n)); in createInstance() local
473 if (newElement) { in createInstance()
474 hr = newElement->QueryInterface(IID_IDOMNode, (void**)&domNode); in createInstance()
475 newElement->Release(); in createInstance()
1348 DOMHTMLFormElement* newElement = new DOMHTMLFormElement(e); in createInstance() local
1349 hr = newElement->QueryInterface(IID_IDOMElement, (void**)&domElement); in createInstance()
1351 DOMHTMLIFrameElement* newElement = new DOMHTMLIFrameElement(e); in createInstance() local
1352 hr = newElement->QueryInterface(IID_IDOMElement, (void**)&domElement); in createInstance()
1354 DOMHTMLInputElement* newElement = new DOMHTMLInputElement(e); in createInstance() local
1355 hr = newElement->QueryInterface(IID_IDOMElement, (void**)&domElement); in createInstance()
[all …]
/external/skia/src/gpu/
DGrReducedClip.cpp323 Element* newElement = result->addToHead(*element); in reduced_stack_walker() local
324 if (newElement->isAA()) { in reduced_stack_walker()
330 bool isReplace = SkRegion::kReplace_Op == newElement->getOp(); in reduced_stack_walker()
331 if (newElement->isInverseFilled() && in reduced_stack_walker()
332 (SkRegion::kIntersect_Op == newElement->getOp() || isReplace)) { in reduced_stack_walker()
333 newElement->invertShapeFillType(); in reduced_stack_walker()
334 newElement->setOp(SkRegion::kDifference_Op); in reduced_stack_walker()
/external/webkit/LayoutTests/dom/html/level2/core/
DcreateElementNS06.js92 var newElement;
104 newElement = doc.createElementNS(namespaceURI,"");
/external/webkit/LayoutTests/dom/xhtml/level2/core/
DcreateElementNS06.js92 var newElement;
104 newElement = doc.createElementNS(namespaceURI,"");
/external/webkit/Source/WebCore/rendering/svg/
DSVGTextLayoutAttributesBuilder.h50 …TextPosition(SVGTextPositioningElement* newElement = 0, unsigned newStart = 0, unsigned newLength …
51 : element(newElement) in element()
/external/v8/src/
Djson.js36 var newElement = Revive(val, $String(i), reviver);
37 val[i] = newElement;
42 var newElement = Revive(val, p, reviver);
43 if (IS_UNDEFINED(newElement)) {
46 val[p] = newElement;
/external/webkit/Source/WebCore/editing/
DDeleteButtonController.cpp176 HTMLElement* newElement = enclosingDeletableElement(m_frame->selection()->selection()); in respondToChangedSelection() local
177 if (oldElement == newElement) in respondToChangedSelection()
181 if (newElement) in respondToChangedSelection()
182 show(newElement); in respondToChangedSelection()
/external/webkit/Source/WebCore/inspector/front-end/
DElementsTreeOutline.js500 var newElement = new WebInspector.ElementsTreeElement(child, closingTag);
501 newElement.selectable = this.treeOutline.selectEnabled;
502 this.insertChild(newElement, index);
503 return newElement;
558 var newElement = treeElement.insertChildElement(child, treeChildIndex);
560 elementToSelect = newElement;
/external/webkit/PerformanceTests/SunSpider/tests/parse-only/
Dmootools-1.2.2-core-nc.js1311 if (typeof tag == 'string') return document.newElement(tag, props);
1401 newElement: function(tag, props){ method
1964 …var temp = this.ownerDocument.newElement('div', {html: this.innerHTML}).inject(this.ownerDocument.…

12