Searched refs:newElement (Results 1 - 24 of 24) sorted by relevance

/external/webkit/LayoutTests/dom/html/level1/core/
H A Dhc_documentcreateelement.js93 var newElement;
103 newElement = doc.createElement("acronym");
104 newElementName = newElement.nodeName;
107 newElementType = newElement.nodeType;
110 newElementValue = newElement.nodeValue;
H A 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/level1/core/
H A Dhc_documentcreateelement.js93 var newElement;
103 newElement = doc.createElement("acronym");
104 newElementName = newElement.nodeName;
107 newElementType = newElement.nodeType;
110 newElementValue = newElement.nodeValue;
H A 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/
H A 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;
H A Dnodereplacechild39.js92 var newElement;
106 newElement = doc.createElementNS(rootNS,rootName);
111 retNode = doc.replaceChild(newElement,newComment);
H A Dnodegetbaseuri06.js92 var newElement;
100 newElement = doc.createElementNS("http://www.w3.org/1999/xhtml","br");
H A 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);
/external/webkit/LayoutTests/dom/html/level2/core/
H A DcreateElementNS06.js92 var newElement;
104 newElement = doc.createElementNS(namespaceURI,"");
/external/webkit/LayoutTests/dom/xhtml/level2/core/
H A DcreateElementNS06.js92 var newElement;
104 newElement = doc.createElementNS(namespaceURI,"");
/external/webkit/Source/WebCore/rendering/svg/
H A DSVGTextLayoutAttributesBuilder.h50 TextPosition(SVGTextPositioningElement* newElement = 0, unsigned newStart = 0, unsigned newLength = 0)
51 : element(newElement)
/external/webkit/Source/WebCore/html/parser/
H A DHTMLFormattingElementList.cpp76 void HTMLFormattingElementList::swapTo(Element* oldElement, Element* newElement, const Bookmark& bookmark) argument
79 ASSERT(!contains(newElement));
82 bookmark.mark()->replaceElement(newElement);
87 m_entries.insert(index + 1, newElement);
H A DHTMLFormattingElementList.h114 void swapTo(Element* oldElement, Element* newElement, const Bookmark&);
H A DHTMLTreeBuilder.cpp1657 RefPtr<Element> newElement = m_tree.createHTMLElementFromElementRecord(node); local
1659 nodeEntry->replaceElement(newElement.get());
1660 node->replaceElement(newElement.release());
1693 RefPtr<Element> newElement = m_tree.createHTMLElementFromElementRecord(formattingElementRecord); local
1695 newElement->takeAllChildrenFrom(furthestBlock->element());
1701 furthestBlockElement->parserAddChild(newElement);
1702 if (furthestBlockElement->attached() && !newElement->attached()) {
1703 // Notice that newElement might already be attached if, for example, one of the reparented
1705 newElement->attach();
1708 m_tree.activeFormattingElements()->swapTo(formattingElement, newElement
[all...]
/external/webkit/Source/WebCore/dom/
H A DXMLDocumentParserQt.cpp341 static inline void handleElementNamespaces(Element* newElement, const QXmlStreamNamespaceDeclarations &ns, argument
349 newElement->setAttributeNS("http://www.w3.org/2000/xmlns/", namespaceQName, namespaceURI, ec, scriptingPermission);
355 static inline void handleElementAttributes(Element* newElement, const QXmlStreamAttributes &attrs, ExceptionCode& ec, argument
364 newElement->setAttributeNS(attrURI, attrQName, attrValue, ec, scriptingPermission);
495 RefPtr<Element> newElement = document()->createElement(qName, true); local
496 if (!newElement) {
524 handleElementNamespaces(newElement.get(), m_stream.namespaceDeclarations(), ec, m_scriptingPermission);
530 handleElementAttributes(newElement.get(), m_stream.attributes(), ec, m_scriptingPermission);
536 ScriptElement* scriptElement = toScriptElement(newElement.get());
540 m_currentNode->deprecatedParserAddChild(newElement
[all...]
H A Dxml_expat_tokenizer.cpp394 static inline void handleElementNamespaces(Element *newElement, const String &uri, const String &prefix, ExceptionCode &exceptioncode) argument
402 newElement->setAttributeNS(String("http://www.w3.org/2000/xmlns/"), namespaceQName, uri, exceptioncode);
405 static inline void handleElementAttributes(Element *newElement, const XML_Char **atts, ExceptionCode &exceptioncode) argument
412 newElement->setAttributeNS(attrURI, attrQName, attrValue, exceptioncode);
444 RefPtr<Element> newElement = m_doc->createElementNS(uri, qName, ec); local
445 if (!newElement) {
450 handleElementNamespaces(newElement.get(), uri, prefix, ec);
456 handleElementAttributes(newElement.get(), atts, ec);
462 if (newElement->hasTagName(scriptTag))
463 static_cast<HTMLScriptElement*>(newElement
[all...]
H A DXMLDocumentParserLibxml2.cpp706 static inline void handleElementNamespaces(Element* newElement, const xmlChar** libxmlNamespaces, int nb_namespaces, ExceptionCode& ec, FragmentScriptingPermission scriptingPermission) argument
714 newElement->setAttributeNS(XMLNSNames::xmlnsNamespaceURI, namespaceQName, namespaceURI, ec, scriptingPermission);
729 static inline void handleElementAttributes(Element* newElement, const xmlChar** libxmlAttributes, int nb_attributes, ExceptionCode& ec, FragmentScriptingPermission scriptingPermission) argument
739 newElement->setAttributeNS(attrURI, attrQName, attrValue, ec, scriptingPermission);
800 RefPtr<Element> newElement = document()->createElement(qName, true); local
801 if (!newElement) {
807 handleElementNamespaces(newElement.get(), libxmlNamespaces, nb_namespaces, ec, m_scriptingPermission);
813 handleElementAttributes(newElement.get(), libxmlAttributes, nb_attributes, ec, m_scriptingPermission);
819 newElement->beginParsingChildren();
821 ScriptElement* scriptElement = toScriptElement(newElement
[all...]
H A DDocument.cpp816 RefPtr<Element> newElement = createElementNS(oldElement->namespaceURI(), oldElement->tagQName().toString(), ec); local
826 newElement->setAttribute(attr->name(), attr->value().impl(), ec);
832 newElement->copyNonAttributeProperties(oldElement);
839 newElement->appendChild(newChild.release(), ec);
845 return newElement.release();
/external/icu4c/common/
H A Dudata.cpp305 DataCacheElement *newElement; local
319 newElement = (DataCacheElement *)uprv_malloc(sizeof(DataCacheElement));
320 if (newElement == NULL) {
324 newElement->item = UDataMemory_createNewInstance(pErr);
326 uprv_free(newElement);
329 UDatamemory_assign(newElement->item, item);
333 newElement->name = (char *)uprv_malloc(nameLen+1);
334 if (newElement->name == NULL) {
336 uprv_free(newElement->item);
337 uprv_free(newElement);
[all...]
/external/webkit/Source/WebKit/win/
H A DDOMCoreClasses.cpp472 IDOMElement* newElement = DOMElement::createInstance(static_cast<WebCore::Element*>(n)); local
473 if (newElement) {
474 hr = newElement->QueryInterface(IID_IDOMNode, (void**)&domNode);
475 newElement->Release();
1348 DOMHTMLFormElement* newElement = new DOMHTMLFormElement(e); local
1349 hr = newElement->QueryInterface(IID_IDOMElement, (void**)&domElement);
1351 DOMHTMLIFrameElement* newElement = new DOMHTMLIFrameElement(e); local
1352 hr = newElement->QueryInterface(IID_IDOMElement, (void**)&domElement);
1354 DOMHTMLInputElement* newElement = new DOMHTMLInputElement(e); local
1355 hr = newElement
1357 DOMHTMLOptionElement* newElement = new DOMHTMLOptionElement(e); local
1360 DOMHTMLSelectElement* newElement = new DOMHTMLSelectElement(e); local
1363 DOMHTMLTextAreaElement* newElement = new DOMHTMLTextAreaElement(e); local
1366 DOMHTMLElement* newElement = new DOMHTMLElement(e); local
1369 DOMElement* newElement = new DOMElement(e); local
[all...]
/external/v8/src/
H A 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/
H A DDeleteButtonController.cpp176 HTMLElement* newElement = enclosingDeletableElement(m_frame->selection()->selection()); local
177 if (oldElement == newElement)
181 if (newElement)
182 show(newElement);
/external/webkit/Source/WebCore/inspector/front-end/
H A 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/
H A Dmootools-1.2.2-core-nc.js1311 if (typeof tag == 'string') return document.newElement(tag, props);
1401 newElement: function(tag, props){
1964 var temp = this.ownerDocument.newElement('div', {html: this.innerHTML}).inject(this.ownerDocument.body);

Completed in 1820 milliseconds