Searched refs:verticalPosition (Results 1 – 2 of 2) sorted by relevance
727 LayoutUnit verticalPosition = verticalPositionCache.get(renderer, baselineType()); in verticalPositionForBox() local728 if (verticalPosition != PositionUndefined) in verticalPositionForBox()729 return verticalPosition; in verticalPositionForBox()732 LayoutUnit verticalPosition = 0; in verticalPositionForBox() local739 verticalPosition = box->parent()->logicalTop(); in verticalPositionForBox()749 verticalPosition += fontSize / 5 + 1; in verticalPositionForBox()751 verticalPosition -= fontSize / 3 + 1; in verticalPositionForBox()753 …verticalPosition += renderer->baselinePosition(baselineType(), firstLine, lineDirection) - fontMet… in verticalPositionForBox()755 …verticalPosition = (verticalPosition - static_cast<LayoutUnit>(fontMetrics.xHeight() / 2) - render… in verticalPositionForBox()757 verticalPosition += fontMetrics.descent(baselineType()); in verticalPositionForBox()[all …]
671 var verticalPosition =673 container.style.top = verticalPosition + 'px';