Home
last modified time | relevance | path

Searched refs:parentElement (Results 1 – 25 of 94) sorted by relevance

1234

/external/webkit/Source/WebCore/xml/
DXMLViewer.js81 nodeParentPairs.push({parentElement: root, node: child}); property
84 processNode(nodeParentPairs[i].parentElement, nodeParentPairs[i].node);
95 function processNode(parentElement, node) argument
106 processNode.processorsMap[node.nodeType].call(this, parentElement, node);
109 function processElement(parentElement, node) argument
112 processEmptyElement(parentElement, node);
116 processShortTextOnlyElement(parentElement, node);
118 processComplexElement(parentElement, node);
122 function processEmptyElement(parentElement, node) argument
126 parentElement.appendChild(line);
[all …]
/external/webkit/Source/WebCore/inspector/front-end/
DView.js49 show: function(parentElement) argument
52 if (parentElement && parentElement !== this.element.parentNode) {
54 parentElement.appendChild(this.element);
DResourceCookiesView.js43 show: function(parentElement) argument
52 WebInspector.View.prototype.show.call(this, parentElement); argument
57 this._emptyMsgElement.parentElement.removeChild(this._emptyMsgElement);
66 WebInspector.View.prototype.show.call(this, parentElement); argument
DPanel.js142 var parentElement = this.viewsContainerElement;
203 … if (view.element.parentNode !== parentElement && view.element.parentNode && parentElement)
282 createSidebar: function(parentElement, resizerParentElement) argument
287 if (!parentElement)
288 parentElement = this.element;
291 resizerParentElement = parentElement;
295 parentElement.appendChild(this.sidebarElement);
DResourceTimingView.js42 show: function(parentElement) argument
51 WebInspector.View.prototype.show.call(this, parentElement); argument
56 this._emptyMsgElement.parentElement.removeChild(this._emptyMsgElement);
59 WebInspector.View.prototype.show.call(this, parentElement); argument
65 this._tableElement.parentElement.removeChild(this._tableElement);
DResourceJSONView.js58 show: function(parentElement) argument
60 WebInspector.ResourceView.prototype.show.call(this, parentElement); argument
DTextViewer.js771 var parentElement = this.element.parentElement;
774 parentElement.insertBefore(lineRow, this.element);
777 parentElement.removeChild(this.element);
782 var parentElement = lineRow.parentElement;
783 if (parentElement) {
786 parentElement.insertBefore(this.element, lineRow);
788 parentElement.removeChild(lineRow);
1258 for (var node = end.container; node; node = node.parentElement) {
1338 for (var lineRow = element; lineRow; lineRow = lineRow.parentElement) {
1339 if (lineRow.parentElement === this._container)
[all …]
DDatabaseTableView.js41 show: function(parentElement) argument
43 WebInspector.View.prototype.show.call(this, parentElement); argument
DSourceFrame.js70 show: function(parentElement) argument
74 this._textViewer.show(parentElement);
746 var parentElement = this._popup.highlightElement.parentElement;
750 parentElement.insertBefore(child, this._popup.highlightElement);
753 parentElement.removeChild(this._popup.highlightElement);
778 var parentElement = element.parentElement;
783 parentElement.insertBefore(container, nextElement);
DNetworkItemView.js72 show: function(parentElement) argument
74 WebInspector.View.prototype.show.call(this, parentElement); argument
DPanelEnablerView.js82 show: function(parentElement) argument
84 WebInspector.View.prototype.show.call(this, parentElement); argument
DFontView.js76 show: function(parentElement) argument
78 WebInspector.ResourceView.prototype.show.call(this, parentElement); argument
DImageView.js42 show: function(parentElement) argument
44 WebInspector.ResourceView.prototype.show.call(this, parentElement); argument
DDOMStorageItemsView.js49 show: function(parentElement) argument
51 WebInspector.View.prototype.show.call(this, parentElement); argument
DDatabaseQueryView.js49 show: function(parentElement) argument
51 WebInspector.View.prototype.show.call(this, parentElement); argument
/external/chromium/chrome/browser/resources/shared/js/cr/ui/
Dtabs.js13 return el.parentElement && el.parentElement.parentElement;
88 var index = Array.prototype.indexOf.call(target.parentElement.children,
152 var index = this.parentElement.selectedIndex;
153 this.parentElement.selectedIndex = (index + delta + count) % count;
/external/webkit/Source/WebCore/editing/
DSplitTextNodeContainingElementCommand.cpp50 Element* parent = m_text->parentElement(); in doApply()
51 if (!parent || !parent->parentElement() || !parent->parentElement()->rendererIsEditable()) in doApply()
DBreakBlockquoteCommand.cpp130 …for (Element* node = startNode->parentElement(); node && node != topBlockquote; node = node->paren… in doApply()
175 for (ancestor = ancestors.first(), clonedParent = clonedAncestor->parentElement(); in doApply()
177 ancestor = ancestor->parentElement(), clonedParent = clonedParent->parentElement()) { in doApply()
DInsertParagraphSeparatorCommand.cpp53 …curBlock->nextSibling() && curBlock->parentElement()->hasTagName(divTag) && curBlock->parentElemen… in highestVisuallyEquivalentDivBelowRoot()
54 NamedNodeMap* attributes = curBlock->parentElement()->attributes(true); in highestVisuallyEquivalentDivBelowRoot()
57 curBlock = curBlock->parentElement(); in highestVisuallyEquivalentDivBelowRoot()
128 … for (Element* n = insertionNode->parentElement(); n && n != outerBlock; n = n->parentElement()) in getAncestorsInsideBlock()
/external/webkit/Source/WebCore/inspector/
DInspectorCSSAgent.cpp219 Element* parentElement = element->parentElement(); in getStylesForNode() local
220 while (parentElement) { in getStylesForNode()
222 if (parentElement->style() && parentElement->style()->length()) { in getStylesForNode()
223 InspectorStyleSheetForInlineStyle* styleSheet = asInspectorStyleSheet(parentElement); in getStylesForNode()
228 CSSStyleSelector* parentSelector = parentElement->ownerDocument()->styleSelector(); in getStylesForNode()
229 …RefPtr<CSSRuleList> parentMatchedRules = parentSelector->styleRulesForElement(parentElement, false… in getStylesForNode()
232 parentElement = parentElement->parentElement(); in getStylesForNode()
/external/webkit/Source/WebCore/rendering/
DRenderCounter.cpp62 parent = parent->parentElement(); in previousInPreOrder()
108 parent = parent->parentElement(); in previousSiblingOrParent()
134 static Element* parentElement(RenderObject* object) in parentElement() function
139 return toElement(object->node())->parentElement(); in parentElement()
151 return parentElement(first) == parentElement(second); in areRenderersElementsSiblings()
195 self = self->parentElement(); in nextInPreOrder()
372 currentRenderer = parentElement(currentRenderer)->renderer(); in findPlaceForCounter()
428 Element* stayWithin = parentElement(object); in makeCounterNode()
442 if (stayWithin == parentElement(currentRenderer) && currentCounter->hasResetType()) in makeCounterNode()
/external/webkit/Source/WebCore/dom/
DOptionElement.cpp114 Element* parentElement = static_cast<Element*>(element->parentNode()); in collectOptionTextRespectingGroupLabel() local
115 if (parentElement && toOptionGroupElement(parentElement)) in collectOptionTextRespectingGroupLabel()
DXMLDocumentParserQt.cpp115 XMLDocumentParser::XMLDocumentParser(DocumentFragment* fragment, Element* parentElement, FragmentSc… in XMLDocumentParser() argument
143 while (parentElement) { in XMLDocumentParser()
144 elemStack.append(parentElement); in XMLDocumentParser()
146 Node* n = parentElement->parentNode(); in XMLDocumentParser()
149 parentElement = static_cast<Element*>(n); in XMLDocumentParser()
171 if (m_defaultNamespaceURI.isNull() && !parentElement->inDocument()) in XMLDocumentParser()
172 m_defaultNamespaceURI = parentElement->namespaceURI(); in XMLDocumentParser()
/external/webkit/Source/WebKit/chromium/src/js/
DDevTools.js113 element.parentElement.appendChild(glassPane);
126 glassPane.parentElement.removeChild(glassPane);
/external/guava/guava/src/com/google/common/collect/
DMinMaxPriorityQueue.java615 E parentElement = elementData(parentIndex); in crossOverUp() local
626 if (ordering.compare(uncleElement, parentElement) < 0) { in crossOverUp()
628 parentElement = uncleElement; in crossOverUp()
632 if (ordering.compare(parentElement, x) < 0) { in crossOverUp()
633 queue[index] = parentElement; in crossOverUp()

1234