Lines Matching refs:viewportSize
57 return static_cast<LayoutUnit>(renderView->viewportSize().width() * length.viewportPercentageLength() / 100.0f);
61 return static_cast<LayoutUnit>(renderView->viewportSize().height() * length.viewportPercentageLength() / 100.0f);
65 IntSize viewportSize = renderView->viewportSize();
66 return static_cast<LayoutUnit>(std::min(viewportSize.width(), viewportSize.height()) * length.viewportPercentageLength() / 100.0f);
71 IntSize viewportSize = renderView->viewportSize();
72 return static_cast<LayoutUnit>(std::max(viewportSize.width(), viewportSize.height()) * length.viewportPercentageLength() / 100.0f);
136 return static_cast<int>(renderView->viewportSize().width() * length.viewportPercentageLength() / 100.0f);
140 return static_cast<int>(renderView->viewportSize().height() * length.viewportPercentageLength() / 100.0f);
144 IntSize viewportSize = renderView->viewportSize();
145 return static_cast<int>(std::min(viewportSize.width(), viewportSize.height()) * length.viewportPercentageLength() / 100.0f);
150 IntSize viewportSize = renderView->viewportSize();
151 return static_cast<int>(std::max(viewportSize.width(), viewportSize.height()) * length.viewportPercentageLength() / 100.0f);