2010-03-04 12:05:17 -08:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>Browser Viewport Page 02</title>
|
|
|
|
<meta name="viewport" content="width=320, initial-scale=1"/>
|
2010-05-05 12:51:55 -07:00
|
|
|
|
|
|
|
<!--
|
|
|
|
Expected width calculation:
|
|
|
|
width = 320
|
|
|
|
since initial scale is specified, expand width to full screen (width = 533.33)
|
|
|
|
|
|
|
|
Expected scale calculation:
|
|
|
|
account for high DPI (1 * 1.5 = 1.5)
|
|
|
|
-->
|
|
|
|
<meta name="expected-width" content="533.33"/>
|
|
|
|
<meta name="expected-scale" content="1.5"/>
|
2010-03-04 12:05:17 -08:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<p>Browser Viewport Page 02</p>
|
2010-04-27 11:22:38 -07:00
|
|
|
<p>width=320, initial-scale=1</p>
|
2010-03-04 12:05:17 -08:00
|
|
|
</body>
|
|
|
|
</html>
|