Home | History | Annotate | Download | only in rendering

Lines Matching refs:height

60         // width and height attributes of the video element as the intrinsic size until
64 setIntrinsicSize(IntSize(video->width(), video->height()));
69 // have the correct height (it needs to be > 0 for controls to render properly).
132 int ratio = renderBox.width() * elementSize.height() - renderBox.height() * elementSize.width();
134 int newWidth = renderBox.height() * elementSize.width() / elementSize.height();
140 int newHeight = renderBox.width() * elementSize.height() / elementSize.width();
141 if (renderBox.height() - newHeight > 2)
143 renderBox.move(0, (contentRect.height() - renderBox.height()) / 2);
207 mediaPlayer->setSize(IntSize(videoBounds.width(), videoBounds.height()));
227 int height;
229 height = calcReplacedHeightUsing(style()->height());
231 height = calcAspectRatioHeight() * style()->effectiveZoom();
234 int maxH = style()->maxHeight().isUndefined() ? height : calcReplacedHeightUsing(style()->maxHeight());
236 return max(minH, min(height, maxH));
242 int intrinsicHeight = intrinsicSize().height();
251 int intrinsicHeight = intrinsicSize().height();