• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/WebCore-7600.1.25/dom/

Lines Matching +refs:frame +refs:width

80     float resultWidth = width;
93 resultWidth = deviceSize.width();
102 resultHeight = deviceSize.width();
112 resultMinWidth = deviceSize.width();
121 resultMaxWidth = deviceSize.width();
130 resultMinHeight = deviceSize.width();
139 resultMaxHeight = deviceSize.width();
147 resultWidth = compareIgnoringAuto(resultMinWidth, compareIgnoringAuto(resultMaxWidth, deviceSize.width(), std::min), std::max);
159 resultWidth = deviceSize.width();
162 resultWidth = deviceSize.width() / resultZoom;
165 resultWidth = resultHeight * deviceSize.width() / deviceSize.height();
168 resultHeight = resultWidth * deviceSize.height() / deviceSize.width();
171 resultWidth = compareIgnoringAuto(resultWidth, deviceSize.width() / compareIgnoringAuto(resultZoom, resultMaxZoom, std::min), std::max);
207 result.initialScale = initialViewportSize.width() / defaultWidth;
209 result.initialScale = initialViewportSize.width() / resultWidth;
219 // Resolve width value.
224 resultWidth = resultHeight * (initialViewportSize.width() / initialViewportSize.height());
226 resultWidth = initialViewportSize.width() / result.initialScale;
231 resultHeight = resultWidth * (initialViewportSize.height() / initialViewportSize.width());
234 // Extend width and height to fill the visual viewport for the resolved initial-scale.
235 resultWidth = std::max<float>(resultWidth, initialViewportSize.width() / result.initialScale);
272 return std::max<float>(result.minimumScale, std::max(viewportSize.width() / contentsSize.width(), viewportSize.height() / contentsSize.height()));
279 result.minimumScale = std::max<float>(result.minimumScale, std::max(viewportSize.width() / result.layoutSize.width(), viewportSize.height() / result.layoutSize.height()));
313 // 3) device-width and device-height are used as keywords.
316 if (equalIgnoringCase(valueString, "device-width"))
334 // 4) device-width and device-height are translated to 10.0.
341 if (equalIgnoringCase(valueString, "device-width"))
360 // Numbers >= 1, numbers <= -1, device-width and device-height are mapped to yes.
367 if (equalIgnoringCase(valueString, "device-width"))
384 if (keyString == "width")
385 arguments->width = findSizeValue(keyString, valueString, document);
407 if (arguments.width == ViewportArguments::ValueDeviceWidth)
408 arguments.width = screenSize.width();
409 else if (arguments.width == ViewportArguments::ValueDeviceHeight)
410 arguments.width = screenSize.height();
413 arguments.height = screenSize.width();
448 Frame* frame = document->frame();
449 if (!frame)