Searched refs:firstChild (Results 1 - 25 of 398) sorted by relevance

1234567891011>>

/external/chromium_org/chrome_frame/cfinstall/src/miniclosure/
H A Dstyle.js24 var firstChild = h.firstChild;
25 h.insertBefore(ss, firstChild);
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderObjectChildList.cpp40 while (firstChild()) {
41 if (firstChild()->isListMarker() || (firstChild()->style()->styleType() == FIRST_LETTER && !firstChild()->isText()))
42 firstChild()->remove(); // List markers are owned by their enclosing list and so don't get destroyed by this container. Similarly, first letters are destroyed by their remaining text fragment.
43 else if (firstChild()->isRunIn() && firstChild()->node()) {
44 firstChild()->node()->setRenderer(0);
45 firstChild()->node()->setNeedsStyleRecalc();
46 firstChild()
[all...]
H A DRenderRubyBase.cpp85 if (!firstChild())
104 moveChildrenTo(toBlock, firstChild(), beforeChild);
112 if (!firstChild())
119 RenderObject* firstChildHere = firstChild();
130 moveChildrenTo(toBase, firstChild(), beforeChild);
H A DRenderTableCol.h40 RenderObject* firstChild() const { ASSERT(children() == virtualChildren()); return children()->firstChild(); } function in class:WebCore::FINAL
51 bool isTableColumnGroupWithColumnChildren() { return firstChild(); }
H A DRenderRuby.cpp61 && object->firstChild()
62 && object->firstChild()->style()->styleType() == BEFORE;
69 && object->firstChild()
70 && object->firstChild()->style()->styleType() == AFTER;
75 RenderObject* child = ruby->firstChild();
132 RenderInline::addChild(child, firstChild());
138 RenderInline::addChild(beforeBlock, firstChild());
238 RenderBlock::addChild(child, firstChild());
244 RenderBlock::addChild(beforeBlock, firstChild());
H A DRenderTableCol.cpp121 for (RenderObject* child = firstChild(); child; child = child->nextSibling())
147 if (RenderObject* firstChild = this->firstChild())
148 return toRenderTableCol(firstChild);
H A DRenderMedia.h41 RenderObject* firstChild() const { ASSERT(children() == virtualChildren()); return children()->firstChild(); } function in class:WebCore::RenderMedia
/external/chromium_org/third_party/WebKit/Source/core/editing/
H A DSplitTextNodeContainingElementCommand.cpp57 Node* firstChild = parent->firstChild(); local
58 if (!firstChild || !firstChild->isElementNode())
60 parent = toElement(firstChild);
H A DMergeIdenticalElementsCommand.cpp50 m_atChild = m_element2->firstChild();
53 for (Node* child = m_element1->firstChild(); child; child = child->nextSibling())
81 for (Node* child = m_element2->firstChild(); child && child != atChild; child = child->nextSibling())
H A DWrapContentsInDummySpanCommand.cpp45 for (Node* child = m_element->firstChild(); child; child = child->nextSibling())
70 for (Node* child = m_dummySpan->firstChild(); child; child = child->nextSibling())
H A DSimplifyMarkupCommand.cpp52 if (node->firstChild() || (node->isTextNode() && node->nextSibling()))
74 if (currentNode->firstChild() != currentNode->lastChild()) {
107 ASSERT(nodesToRemove[pastLastNodeToRemove]->firstChild() == nodesToRemove[pastLastNodeToRemove]->lastChild());
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGElementInstanceList.cpp41 for (SVGElementInstance* instance = m_rootInstance->firstChild(); instance; instance = instance->nextSibling())
49 SVGElementInstance* instance = m_rootInstance->firstChild();
/external/chromium/chrome/common/extensions/docs/js/
H A Dsidebar.js25 list[i].parentNode.firstChild;
68 } else if (item.firstChild &&
69 item.firstChild.nodeType == TEXT_NODE) {
77 item.insertBefore(a, item.firstChild);
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLDetailsElement.cpp75 for (Node* child = firstChild(); child; child = child->nextSibling()) {
80 HTMLContentElement* content = toHTMLContentElement(userAgentShadowRoot()->firstChild());
81 ASSERT(content->firstChild() && content->firstChild()->hasTagName(summaryTag));
82 return toElement(content->firstChild());
H A DHTMLTableRowsCollection.cpp70 child = table->firstChild();
75 for (Node* grandchild = child->firstChild(); grandchild; grandchild = grandchild->nextSibling()) {
84 child = table->firstChild();
93 for (Node* grandchild = child->firstChild(); grandchild; grandchild = grandchild->nextSibling()) {
102 child = table->firstChild();
107 for (Node* grandchild = child->firstChild(); grandchild; grandchild = grandchild->nextSibling()) {
H A DHTMLTableRowElement.cpp74 for (Node *row = head->firstChild(); row; row = row->nextSibling()) {
82 for (Node *node = table->firstChild(); node; node = node->nextSibling()) {
85 for (Node* row = section->firstChild(); row; row = row->nextSibling()) {
95 for (Node *row = foot->firstChild(); row; row = row->nextSibling()) {
136 n = firstChild();
/external/chromium_org/chrome_frame/
H A DCFInstall.js75 var firstChild = h.firstChild;
76 h.insertBefore(ss, firstChild);
214 var firstChild = document.body.firstChild;
215 document.body.insertBefore(ifr, firstChild);
247 while (n.firstChild) {
248 b.insertBefore(n.lastChild, b.firstChild);
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
H A DNativeBreakpointsSidebarPane.js56 if (!this.listElement.firstChild) {
67 if (!this.listElement.firstChild) {
/external/chromium_org/chrome/browser/resources/ntp4/
H A Dtrash.js36 return tile.firstChild.canBeRemoved();
66 tile.firstChild.removeFromChrome();
/external/chromium_org/chrome_frame/cfinstall/src/stub/
H A Doverlaydelegate.js102 while (n.firstChild) {
103 b.insertBefore(n.lastChild, b.firstChild);
147 document.getElementById('chromeFrameIframeHolder').firstChild);
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DTreeWalker.cpp76 Node* TreeWalker::firstChild(ScriptState* state) function in class:WebCore::TreeWalker
78 for (RefPtr<Node> node = m_current->firstChild(); node; ) {
87 if (node->firstChild()) {
88 node = node->firstChild();
194 if (sibling->firstChild()) {
195 sibling = sibling->firstChild();
259 while (Node* firstChild = node->firstChild()) {
260 node = firstChild;
H A DTreeWalker.idl32 [CallWith=ScriptState] Node firstChild();
H A DContainerNode.h86 Node* firstChild() const { return m_firstChild; } function in class:WebCore::ContainerNode
200 for (Node* child = firstChild(); child; child = child->nextSibling()) {
212 for (Node* child = firstChild(); child; child = child->nextSibling())
230 inline Node* Node::firstChild() const function in class:WebCore::Node
234 return toContainerNode(this)->firstChild();
262 for (Node* child = node->firstChild(); child; child = child->nextSibling())
271 : m_currentNode(parentNode->firstChild())
H A DContainerNodeAlgorithms.cpp60 for (Node* child = node->firstChild(); child; child = child->nextSibling()) {
97 for (Node* child = node->firstChild(); child; child = child->nextSibling()) {
133 for (Node* child = node->firstChild(); child; child = child->nextSibling())
/external/chromium_org/third_party/tlslite/tlslite/utils/
H A Dxmltools.py48 if element.firstChild.nodeType == element.firstChild.TEXT_NODE:
50 if element.firstChild.data == lastSpacer:
51 element.removeChild(element.firstChild)
54 elif element.firstChild.nodeType == element.firstChild.ELEMENT_NODE:
60 child = element.firstChild
181 textNode = element.firstChild

Completed in 279 milliseconds

1234567891011>>