Permalink
Browse files

Fixed meta viewport.

  • Loading branch information...
1 parent 33e72ce commit 206a87131a574acc25e9fd81713afd8ecb072461 @ariya committed Jul 31, 2011
View
2 a/quality/index.html
@@ -1,5 +1,5 @@
<html><head><title>Android: touch even and painting quality</title>
-<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=no;">
+<meta name="viewport" content="width=device-width maximum-scale=1 initial-scale=1 user-scalable=no">
<style>
p { text-align: center; }
* {
View
2 app/offline/index.html
@@ -3,7 +3,7 @@
<link rel="apple-touch-icon" href="icon.png"/>
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
-<meta name="viewport" content="width=device-width; initial-scale=1.0; user-scalable=no;">
+<meta name="viewport" content="width=device-width maximum-scale=1 initial-scale=1 user-scalable=no">
<title>Offline</title>
</head>
<body><p>Hello, world!</p>
View
2 bonding.htm
@@ -1,5 +1,5 @@
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta name="viewport" content="width=320,user-scalable:no">
+<meta name="viewport" content="width=device-width maximum-scale=1 initial-scale=1 user-scalable=no">
</head>
<title>IonicBonding · Made with Sencha Animator</title>
<style type="text/css">
View
2 clock.htm
@@ -1,6 +1,6 @@
<html>
<head><title>Morphing Clock</title>
-<meta name="viewport" content="width=320,user-scalable:no">
+<meta name="viewport" content="width=device-width maximum-scale=1 initial-scale=1 user-scalable=no">
<style>
div.segment {
position: absolute;
View
2 css/overflow-scroll/index.html
@@ -1,7 +1,7 @@
<html><head><title>CSS overflow:scroll test</title>
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
-<meta name="viewport" content="width=device-width; initial-scale=1.0; user-scalable=no;">
+<meta name="viewport" content="width=device-width maximum-scale=1 initial-scale=1 user-scalable=no">
<style>
body {
font-family: Helvetica, Arial;
View
2 index.html
@@ -1,5 +1,5 @@
<html><head><title>Demos by Ariya Hidayat</title>
-<meta name="viewport" content="width=device-width; initial-scale=1.0; user-scalable=no;">
+<meta name="viewport" content="width=device-width maximum-scale=1 initial-scale=1 user-scalable=no">
<link rel="stylesheet" type="text/css" href="style.css"/>
</head>
<body>
View
2 js/accelerometer/index.html
@@ -1,5 +1,5 @@
<html><head><title>Detect accelerometer support</title>
-<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale= 1.0; user-scalable=no;">
+<meta name="viewport" content="width=device-width maximum-scale=1 initial-scale=1 user-scalable=no">
<script>
window.addEventListener("load", function () {
window.setTimeout(function () {
View
2 js/compass/index.html
@@ -1,7 +1,7 @@
<html manifest="index.manifest"><head><title>Compass</title>
<link rel="apple-touch-icon" href="compass-icon.png"/>
<meta name="apple-mobile-web-app-capable" content="yes">
-<meta name="viewport" content="width=device-width; initial-scale=1.0; user-scalable=no;">
+<meta name="viewport" content="width=device-width maximum-scale=1 initial-scale=1 user-scalable=no">
<style>
body {
margin: 0;
View
3 js/devicemotion/index.html
@@ -3,9 +3,8 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="apple-touch-icon" href="icon.png"/>
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
+ <meta name="viewport" content="width=device-width maximum-scale=1 initial-scale=1 user-scalable=no">
<link rel="stylesheet" href="../../lib/sencha-touch.css" type="text/css">
-
<title>Motion</title>
<script type="text/javascript" src="../../lib/sencha-touch.js"></script>
<script type="text/javascript" src="index.js"></script>
View
3 js/deviceorientation/index.html
@@ -4,9 +4,8 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="apple-touch-icon" href="icon.png"/>
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
+ <meta name="viewport" content="width=device-width maximum-scale=1 initial-scale=1 user-scalable=no">
<link rel="stylesheet" href="../../lib/sencha-touch.css" type="text/css">
-
<title>Orientation</title>
<script type="text/javascript" src="../../lib/sencha-touch.js"></script>
<script type="text/javascript" src="index.js"></script>
View
2 js/kinetic/index.html
@@ -2,7 +2,7 @@
<link rel="apple-touch-icon" href="kinetic.png"/>
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
-<meta name="viewport" content="width=device-width; initial-scale=1.0; user-scalable=no;">
+<meta name="viewport" content="width=device-width maximum-scale=1 initial-scale=1 user-scalable=no">
<script src="KineticModel.js"></script>
<script>
window.addEventListener("load", function () {
View
2 js/marblebox/index.html
@@ -2,7 +2,7 @@
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="apple-touch-icon" href="marblebox.png"/>
<meta name="apple-mobile-web-app-status-bar-style" content="black">
-<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=no;">
+<meta name="viewport" content="width=device-width maximum-scale=1 initial-scale=1 user-scalable=no">
<style>
body {
margin: 0;
View
2 js/mathparser/index.html
@@ -2,7 +2,7 @@
<head>
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
-<meta name="viewport" content="width=device-width; maximum-scale=1.0; initial-scale=1.0; user-scalable=no">
+<meta name="viewport" content="width=device-width maximum-scale=1 initial-scale=1 user-scalable=no">
<title>Math expression parser</title>
<style>
body {
View
2 js/orientation/index.html
@@ -1,5 +1,5 @@
<html><head><title>Detect orientation</title>
-<meta name="viewport" content="width=device-width; initial-scale=1.0; user-scalable=no;">
+<meta name="viewport" content="width=device-width maximum-scale=1 initial-scale=1 user-scalable=no">
<script>
window.addEventListener("load", function () {
window.setTimeout(function () {
View
2 js/timerspeed/index.htm
@@ -1,7 +1,7 @@
<html>
<head><title>Timer Speed</title></head>
<meta name="apple-mobile-web-app-capable" content="yes">
-<meta name="viewport" content="width=device-width; initial-scale=1.0; user-scalable=no;">
+<meta name="viewport" content="width=device-width maximum-scale=1 initial-scale=1 user-scalable=no">
<link rel="stylesheet" type="text/css" href="../../style.css"/>
<script>
var tickerId, updateId;
View
2 js/touchdetect/index.html
@@ -1,5 +1,5 @@
<html><head><title>Detect support for touch events</title>
-<meta name="viewport" content="width=device-width; initial-scale=1.0; user-scalable=no;">
+<meta name="viewport" content="width=device-width maximum-scale=1 initial-scale=1 user-scalable=no">
<script>
supportTouch = function () {
var s = false;
View
2 js/useragent/index.html
@@ -1,5 +1,5 @@
<html><head><title>navigator object</title>
-<meta name="viewport" content="width=device-width; maximum-scale=1.0; initial-scale=1.0; user-scalable=no;">
+<meta name="viewport" content="width=device-width maximum-scale=1 initial-scale=1 user-scalable=no">
<link rel="stylesheet" type="text/css" href="../../style.css"/>
<body style="overflow: hidden">
<div style="height: 120%; width: 120%"><p>Hold on a second...</p></div>
View
2 js/whatistomorrow/index.html
@@ -8,7 +8,7 @@
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
-<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale= 1.0; user-scalable=no;">
+<meta name="viewport" content="width=device-width maximum-scale=1 initial-scale=1 user-scalable=no">
<style>
body { font-family: 'Helvetica Neue', Helvetica, Arial; background-color: #ddd; color: #666; }
p, h1 { text-shadow: white 0px 2px 2px; }

0 comments on commit 206a871

Please sign in to comment.