Searched refs:gridLineHeight (Results 1 – 2 of 2) sorted by relevance
253 …LayoutUnit gridLineHeight = lineGridBox->lineBottomWithLeading() - lineGridBox->lineTopWithLeading… in computeLineGridPaginationOrigin() local254 if (!gridLineHeight) in computeLineGridPaginationOrigin()264 …Unit remainder = roundToInt(pageLogicalTop - firstLineTopWithLeading) % roundToInt(gridLineHeight); in computeLineGridPaginationOrigin()265 LayoutUnit paginationDelta = gridLineHeight - remainder; in computeLineGridPaginationOrigin()
358 …LayoutUnit gridLineHeight = lineGridBox->lineBottomWithLeading() - lineGridBox->lineTopWithLeading… in lineSnapAdjustment() local359 if (!gridLineHeight) in lineSnapAdjustment()391 …inesWithLeading = ceilf(static_cast<float>(logicalHeight() - lineGridFontHeight) / gridLineHeight); in lineSnapAdjustment()392 LayoutUnit totalHeight = lineGridFontHeight + numberOfLinesWithLeading * gridLineHeight; in lineSnapAdjustment()405 LayoutUnit remainder = roundToInt(baselineOffset) % roundToInt(gridLineHeight); in lineSnapAdjustment()408 result += gridLineHeight - remainder; in lineSnapAdjustment()