Lines Matching defs:parentBox
205 static bool parentIsConstructedOrHaveNext(InlineFlowBox* parentBox)
208 if (parentBox->isConstructed() || parentBox->nextOnLine())
210 parentBox = parentBox->parent();
211 } while (parentBox);
220 InlineFlowBox* parentBox = 0;
229 parentBox = inlineFlow ? inlineFlow->lastLineBox() : toRenderBlock(obj)->lastLineBox();
238 bool canUseExistingParentBox = parentBox && !parentIsConstructedOrHaveNext(parentBox);
244 parentBox = static_cast<InlineFlowBox*>(newBox);
245 parentBox->setFirstLineStyleBit(firstLine);
246 parentBox->setIsHorizontal(isHorizontalWritingMode());
248 parentBox->clearDescendantsHaveSameLineHeightAndBaseline();
254 result = parentBox;
260 parentBox->addToLine(childBox);
265 childBox = parentBox;
303 InlineFlowBox* parentBox = 0;
323 if (!parentBox || parentBox->renderer() != r->m_object->parent())
325 parentBox = createLineBoxes(r->m_object->parent(), firstLine, box);
328 parentBox->addToLine(box);