You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2015/03/06 04:08:24 UTC

[2/3] cordova-app-hello-world git commit: Remove target-density and height=device-height from ``

Remove target-density and height=device-height from `<viewport>`

These are known to cause more problems than they solve. Shouldn't be in
the default template


Project: http://git-wip-us.apache.org/repos/asf/cordova-app-hello-world/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-app-hello-world/commit/96cd7529
Tree: http://git-wip-us.apache.org/repos/asf/cordova-app-hello-world/tree/96cd7529
Diff: http://git-wip-us.apache.org/repos/asf/cordova-app-hello-world/diff/96cd7529

Branch: refs/heads/master
Commit: 96cd7529063f28c24559d03a69694450c74b1291
Parents: 70858d1
Author: Andrew Grieve <ag...@chromium.org>
Authored: Thu Mar 5 22:04:56 2015 -0500
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Thu Mar 5 22:04:56 2015 -0500

----------------------------------------------------------------------
 www/index.html | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-app-hello-world/blob/96cd7529/www/index.html
----------------------------------------------------------------------
diff --git a/www/index.html b/www/index.html
index 4987880..2e9b253 100644
--- a/www/index.html
+++ b/www/index.html
@@ -19,11 +19,9 @@
 -->
 <html>
     <head>
-        <meta charset="utf-8" />
         <meta name="format-detection" content="telephone=no">
         <meta name="msapplication-tap-highlight" content="no">
-        <!-- WARNING: for iOS 7, remove the width=device-width and height=device-height attributes. See https://issues.apache.org/jira/browse/CB-4323 -->
-        <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi">
+        <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width">
         <link rel="stylesheet" type="text/css" href="css/index.css">
         <title>Hello World</title>
     </head>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org