Searched refs:verticalPosition (Results 1 – 2 of 2) sorted by relevance
851 LayoutUnit verticalPosition = verticalPositionCache.get(renderer, baselineType()); in verticalPositionForBox() local852 if (verticalPosition != PositionUndefined) in verticalPositionForBox()853 return verticalPosition; in verticalPositionForBox()856 LayoutUnit verticalPosition = 0; in verticalPositionForBox() local863 verticalPosition = box->parent()->logicalTop(); in verticalPositionForBox()873 verticalPosition += fontSize / 5 + 1; in verticalPositionForBox()875 verticalPosition -= fontSize / 3 + 1; in verticalPositionForBox()877 …verticalPosition += renderer->baselinePosition(baselineType(), firstLine, lineDirection) - fontMet… in verticalPositionForBox()879 …verticalPosition = (verticalPosition - static_cast<LayoutUnit>(fontMetrics.xHeight() / 2) - render… in verticalPositionForBox()881 verticalPosition += fontMetrics.descent(baselineType()); in verticalPositionForBox()[all …]
616 var verticalPosition =618 container.style.top = verticalPosition + 'px';