Lines Matching refs:first
50 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.
270 RenderObject* first = const_cast<RenderObject*>(owner);
272 first = first->firstChild();
274 while (first && (first->isListMarker() || (first->isRenderInline() && first->isRunIn())))
275 first = first->nextInPreOrderAfterChildren(owner);
276 } while (first && first->isAnonymous() && first->style()->styleType() == NOPSEUDO);
278 if (!first)
281 if (first->style()->styleType() == BEFORE)
282 return first;
285 first = owner->firstChild();
286 if (!first->isRenderBlock())
289 first = first->firstChild();
291 while (first && first->isListMarker())
292 first = first->nextSibling();
293 if (first && first->style()->styleType() == BEFORE && first->isRenderInline() && first->isRunIn())
294 return first;
315 // In CSS2, before/after pseudo-content cannot nest. Check this first.
401 // Otherwise, genChild must be a first-letter container. updateFirstLetter() will take care of it.