Lines Matching refs:firstChild
53 while (firstChild()) {
54 if (firstChild()->isListMarker() || (firstChild()->style()->styleType() == FIRST_LETTER && !firstChild()->isText()))
55 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.
56 else if (firstChild()->isRunIn() && firstChild()->node()) {
57 firstChild()->node()->setRenderer(0);
58 firstChild()->node()->setNeedsStyleRecalc();
59 firstChild()->destroy();
62 if (firstChild()->node())
63 firstChild()->node()->setRenderer(0);
64 firstChild()->destroy();
94 if (oldChild->firstChild() || oldChild->hasLayer()) {
121 if (firstChild() == oldChild)
156 if (newChild->firstChild() || newChild->hasLayer()) {
196 if (beforeChild == firstChild())
212 if (child->firstChild() || child->hasLayer()) {
245 first = first->firstChild();
275 beforeAfterParent = beforeAfterParent->firstChild();
291 for (RenderObject* content = container->firstChild(); content; content = content->nextSibling()) {
343 child = (type == BEFORE) ? owner->virtualChildren()->firstChild() : owner->virtualChildren()->lastChild();
373 for (RenderObject* genChild = beforeAfterParent->firstChild(); genChild; genChild = genChild->nextSibling()) {
392 RenderObject* insertBefore = (type == BEFORE) ? owner->virtualChildren()->firstChild() : 0;