cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject spec commit: Add a test page with iframes
Date Fri, 15 Feb 2013 15:06:40 GMT
Updated Branches:
  refs/heads/master 5457654bd -> 45999f94c


Add a test page with iframes


Project: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/commit/45999f94
Tree: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/tree/45999f94
Diff: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/diff/45999f94

Branch: refs/heads/master
Commit: 45999f94c572b5d4fe2f8e206b04f105c5198d1f
Parents: 5457654
Author: Andrew Grieve <agrieve@chromium.org>
Authored: Fri Feb 15 10:06:16 2013 -0500
Committer: Andrew Grieve <agrieve@chromium.org>
Committed: Fri Feb 15 10:06:16 2013 -0500

----------------------------------------------------------------------
 misc/index.html |    3 ++-
 misc/page2.html |   27 ++++++++++++++++++++++-----
 2 files changed, 24 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/45999f94/misc/index.html
----------------------------------------------------------------------
diff --git a/misc/index.html b/misc/index.html
index 9e28b4a..d9f04bc 100644
--- a/misc/index.html
+++ b/misc/index.html
@@ -70,7 +70,8 @@
     <a href="http://www.google.com" class="btn large">Load Web Site</a>
     <!--  Need new URL -->
     <!-- a href="http://handle.library.cornell.edu/control/authBasic/authTest/" class="btn
large">Basic Auth: test/this</a -->
-    <a href="page2.html" hrefbad="page2.html?me=test" class="btn large">Load another
Apache Cordova page</a>
+    <a href="page2.html" class="btn large">Load a page with iframes</a>
+    <a href="page2.html?me=test" class="btn large">Load page with query param</a>
     <h2>Android Only</h2>
     <a href="geo:0,0?q=11400 Burnet Rd, Austin, TX" class="btn large">Map IBM</a>
     <a href="market://search?q=google" class="btn large">Search Android market</a>

http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/45999f94/misc/page2.html
----------------------------------------------------------------------
diff --git a/misc/page2.html b/misc/page2.html
index e575f0a..5c4b0d6 100644
--- a/misc/page2.html
+++ b/misc/page2.html
@@ -26,10 +26,15 @@
     <meta name="viewport" content="width=device-width,height=device-height,user-scalable=no,maximum-scale=1.0,initial-scale=1.0"
/>
     <meta http-equiv="Content-type" content="text/html; charset=utf-8">
     <title>Cordova Mobile Spec</title>
-      <link rel="stylesheet" href="../master.css" type="text/css" media="screen" title="no
title" charset="utf-8">
-      <script type="text/javascript" charset="utf-8" src="../cordova.js"></script>
-      <script type="text/javascript" charset="utf-8" src="../main.js"></script>
-
+    <link rel="stylesheet" href="../master.css" type="text/css" media="screen" title="no
title" charset="utf-8">
+    <script type="text/javascript" charset="utf-8" src="../cordova.js"></script>
+    <script type="text/javascript" charset="utf-8" src="../main.js"></script>
+    <style>
+      iframe, .iframe_container {
+        height:100px;
+        overflow:scroll;
+      }
+    </style>
   </head>
   <body onload="init();" id="stage" class="theme">
     <h1>Page2 App</h1>
@@ -42,6 +47,18 @@
         <h4>Width: <span id="width">  </span>,   Height: <span id="height">

                    </span>, Color Depth: <span id="colorDepth"></span></h4>
      </div>
-      <div ><button class="backBtn" onclick="backHome();">Back</button></div>
+     about:blank
+     <div class="iframe_container">
+       <iframe src="about:blank"></iframe>
+     </div>
+     whatheaders.com
+     <div class="iframe_container">
+       <iframe src="http://whatheaders.com"></iframe>
+     </div>
+     apache.org
+     <div class="iframe_container">
+       <iframe src="http://apache.org"></iframe>
+     </div>
+     <div><button class="backBtn" onclick="backHome();">Back</button></div>
   </body>
 </html>


Mime
View raw message