gecko/mobile/chrome/tests/browser_viewport_05.html

25 lines
615 B
HTML

<html>
<head>
<title>Browser Viewport Page 05</title>
<meta name="viewport" content="width=2000, minimum-scale=0.75"/>
<!--
Expected width calculation:
width=2000px
Expected scale calculation:
fit to page (800px / 2000px) = 0.4
Expected min-scale calculation:
account for high DPI (.75 * 1.5 = 1.125)
-->
<meta name="expected-width" content="2000"/>
<meta name="expected-scale" content="1.125"/>
<meta name="expected-minScale" content="1.125"/>
</head>
<body>
<p>Browser Viewport Page 05</p>
<p>width=2000, minimum-scale=0.75</p>
</body>
</html>