Searched refs:parentNode (Results 76 - 100 of 402) sorted by relevance

1234567891011>>

/external/chromium_org/ui/webui/resources/js/cr/ui/
H A Dcontext_menu_button.js21 el = el.parentNode;
/external/chromium_org/chrome/browser/resources/bookmark_manager/js/bmm/
H A Dbookmark_list.js172 while (el && el.parentNode != this) {
173 el = el.parentNode;
176 if (el && el.parentNode == this &&
229 while (el.parentNode != this) {
230 el = el.parentNode;
333 if (list.offsetWidth != list.parentNode.clientWidth - list.offsetLeft) {
335 list.style.width = list.parentNode.clientWidth - list.offsetLeft + 'px';
458 if (listItem.parentNode)
459 listItem.parentNode.focus();
568 if (listItem.parentNode) {
[all...]
/external/chromium_org/chrome/browser/resources/options/
H A Dsearch_page.js86 var parent = child.parentNode;
425 var parentNode = node.parentNode;
430 parentNode.insertBefore(document.createTextNode(split[i]), node);
435 parentNode.insertBefore(span, node);
439 parentNode.removeChild(node);
460 parent = node.parentNode;
H A Dcontent_settings_exceptions_area.js472 for (var parentNode = this.parentNode; parentNode;
473 parentNode = parentNode.parentNode) {
474 if (parentNode.hasAttribute('contentType')) {
475 this.contentType = parentNode.getAttribute('contentType');
676 otrLists[i].parentNode.hidden = true;
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DText.cpp121 if (parentNode())
122 parentNode()->insertBefore(newText.get(), nextSibling(), exceptionState);
129 if (parentNode())
199 RefPtrWillBeRawPtr<ContainerNode> parent = parentNode(); // Protect against mutation handlers moving this node during traversal
200 for (RefPtrWillBeRawPtr<Node> n = startText; n && n != this && n->isTextNode() && n->parentNode() == parent;) {
208 for (RefPtrWillBeRawPtr<Node> n = nextSibling(); n && n != onePastEndText && n->isTextNode() && n->parentNode() == parent;) {
216 if (parent && parentNode() == parent)
/external/chromium_org/third_party/WebKit/Source/core/editing/
H A Dhtmlediting.cpp129 ContainerNode* node = highestRoot->parentNode();
135 node = node->parentNode();
148 node = node->parentNode();
165 node = node->parentNode();
184 node = node->parentNode();
196 node = node->parentNode();
342 for (Node* n = node.parentNode(); n; n = n->parentNode()) {
455 for (Node* n = pos.deprecatedNode(); n && n->rootEditableElement() == rootEditableElement; n = n->parentNode()) {
472 for (Node* n = pos.deprecatedNode(); n && n->rootEditableElement() == rootEditableElement; n = n->parentNode()) {
[all...]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/
H A DDOMExtension.js311 for (var node = this; node && node !== this.ownerDocument; node = node.parentNode) {
336 for (var node = this; node && node !== stayWithin && node !== this.ownerDocument; node = node.parentNode) {
629 node = node.parentNode;
644 var currentNode = node.parentNode;
648 currentNode = currentNode.parentNode;
698 while (node && !node.nextSibling && (!stayWithin || !node.parentNode || node.parentNode !== stayWithin))
699 node = node.parentNode;
719 return this.parentNode;
H A DSortableDataGrid.js139 var parentNode = this.rootNode();
140 parentNode.insertChild(node, parentNode.children.upperBound(node, this._sortingFunction));
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGFontFaceElement.cpp263 ASSERT(parentNode() == m_fontElement);
264 ASSERT(!parentNode() || isSVGFontElement(*parentNode()));
275 bool describesParentFont = isSVGFontElement(*parentNode());
279 m_fontElement = toSVGFontElement(parentNode());
H A DSVGTextPathElement.cpp136 if (parentNode() && (isSVGAElement(*parentNode()) || isSVGTextElement(*parentNode())))
H A DSVGFilterPrimitiveStandardAttributes.cpp123 if (isSVGFilterElement(parentNode()))
140 ContainerNode* parent = element->parentNode();
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
H A DXMPIteratorImpl.java534 * @param parentNode the node which children shall be iterated.
537 public NodeIteratorChildren(XMPNode parentNode, String parentPath) argument
539 if (parentNode.getOptions().isSchemaNode())
541 setBaseNS(parentNode.getName());
543 this.parentPath = accumulatePath(parentNode, parentPath, 1);
545 childrenIterator = parentNode.iterateChildren();
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sdk/
H A DDOMModel.js74 this.parentNode = null;
81 node.parentNode = this;
87 this._templateContent.parentNode = this;
92 this._importedDocument.parentNode = this;
261 current = current.parentNode;
509 return node && ("index" in node || (node.isShadowRoot() && node.parentNode)) && node._nodeName.length;
517 node = node.parentNode;
532 var currentNode = node.parentNode;
536 currentNode = currentNode.parentNode;
556 while (!node._frameId && node.parentNode)
[all...]
/external/chromium_org/third_party/WebKit/Source/core/inspector/
H A DDOMPatchSupport.cpp118 if (node->isDocumentNode() || (node->parentNode() && node->parentNode()->isDocumentNode())) {
140 ContainerNode* parentNode = node->parentNode(); local
142 for (Node* child = parentNode->firstChild(); child; child = child->nextSibling())
148 for (Node* child = parentNode->firstChild(); child != node; child = child->nextSibling())
160 if (!innerPatchChildren(parentNode, oldList, newList, exceptionState)) {
162 if (!m_domEditor->replaceChild(parentNode, fragment.release(), node, exceptionState))
165 return previousSibling ? previousSibling->nextSibling() : parentNode->firstChild();
177 return m_domEditor->replaceChild(oldNode->parentNode(), newNod
298 innerPatchChildren(ContainerNode* parentNode, const Vector<OwnPtr<Digest> >& oldList, const Vector<OwnPtr<Digest> >& newList, ExceptionState& exceptionState) argument
451 insertBeforeAndMarkAsUsed(ContainerNode* parentNode, Digest* digest, Node* anchor, ExceptionState& exceptionState) argument
[all...]
/external/chromium_org/chrome/browser/resources/net_internals/
H A Dwaterfall_row.js111 clearPopup_: function(parentNode) {
112 parentNode.innerHTML = '';
115 createPopup_: function(parentNode, event, eventType, duration, mouse) {
116 var newPopup = addNode(parentNode, 'div');
207 createNode_: function(parentNode, duration, eventTypeString, event) {
208 var linkNode = addNode(parentNode, 'a');
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/irc/servlet/jstemplate/
H A Dutil.js400 return oldChild.parentNode.insertBefore(newChild, oldChild);
411 return oldChild.parentNode.replaceChild(newChild, oldChild);
421 return domRemoveChild(node.parentNode, node);
/external/chromium_org/third_party/jstemplate/
H A Dutil.js400 return oldChild.parentNode.insertBefore(newChild, oldChild);
411 return oldChild.parentNode.replaceChild(newChild, oldChild);
421 return domRemoveChild(node.parentNode, node);
/external/chromium-trace/trace-viewer/src/tracing/tracks/
H A Dtrack.js47 if (!this.parentNode)
49 if (!this.parentNode.context)
51 return this.parentNode.context();
/external/chromium-trace/trace-viewer/src/ui/
H A Doverlay.js81 overlay.oldParent_ = overlay.parentNode;
149 overlay.parentNode.removeChild(this.tabCatcher);
268 target = target.parentNode;
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/chromevox/injected/
H A Dnode_breadcrumb.js54 currentNode = currentNode.parentNode;
160 currentNode = currentNode.parentNode;
/external/chromium_org/chrome/browser/resources/chromeos/network_ui/
H A Dnetwork_ui.js231 var cell = btn.parentNode;
232 var row = cell.parentNode;
235 row.parentNode.removeChild(row.nextSibling);
239 row.parentNode.insertBefore(expandedRow, row.nextSibling);
/external/chromium_org/chrome/test/chromedriver/js/
H A Dcall_function.js117 while (node.parentNode) {
118 node = node.parentNode;
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
H A DStyleResolverState.h56 const ContainerNode* parentNode() const { return m_elementContext.parentNode(); } function in class:blink::StyleResolverState
142 // m_parentStyle is not always just element->parentNode()->style()
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLTableRowElement.cpp61 ContainerNode* table = parentNode();
64 table = table->parentNode();
/external/chromium_org/third_party/WebKit/Source/core/testing/
H A DMockPagePopupDriver.cpp109 if (m_iframe && m_iframe->parentNode())
110 m_iframe->parentNode()->removeChild(m_iframe.get());

Completed in 713 milliseconds

1234567891011>>