Lines Matching refs:beforeChild
118 void RenderRubyRun::addChild(RenderObject* child, RenderObject* beforeChild)
124 if (!beforeChild) {
129 } else if (beforeChild->isRubyText()) {
133 ASSERT(beforeChild->parent() == this);
142 RenderBlock::addChild(child, beforeChild);
143 RenderBlock::removeChild(beforeChild);
144 newRun->addChild(beforeChild);
153 rubyBaseSafe()->moveChildren(newRun->rubyBaseSafe(), beforeChild);
158 // (append it instead if beforeChild is the ruby text)
159 if (beforeChild && beforeChild->isRubyText())
160 beforeChild = 0;
161 rubyBaseSafe()->addChild(child, beforeChild);