Home | History | Annotate | Download | only in rendering

Lines Matching defs:firstLineBox

59 bool RenderVTTCue::findFirstLineBox(InlineFlowBox*& firstLineBox)
62 firstLineBox = toRenderInline(firstChild())->firstLineBox();
69 bool RenderVTTCue::initializeLayoutParameters(InlineFlowBox* firstLineBox, LayoutUnit& step, LayoutUnit& position)
77 step = m_cue->getWritingDirection() == VTTCue::Horizontal ? firstLineBox->height() : firstLineBox->width();
150 bool RenderVTTCue::shouldSwitchDirection(InlineFlowBox* firstLineBox, LayoutUnit step) const
154 LayoutUnit bottom = top + firstLineBox->height();
155 LayoutUnit right = left + firstLineBox->width();
215 InlineFlowBox* firstLineBox;
219 if (!findFirstLineBox(firstLineBox))
222 if (!initializeLayoutParameters(firstLineBox, step, position))
232 if (!shouldSwitchDirection(firstLineBox, step)) {