cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shingo Toda (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-7997) presentationstyle always looks like fullscreen
Date Mon, 10 Nov 2014 06:38:33 GMT
Shingo Toda created CB-7997:
-------------------------------

             Summary: presentationstyle always looks like fullscreen
                 Key: CB-7997
                 URL: https://issues.apache.org/jira/browse/CB-7997
             Project: Apache Cordova
          Issue Type: Bug
          Components: iOS, Plugin InAppBrowser
    Affects Versions: 3.6.0
         Environment: iPad Air physical device, iOS 7
iPad Air emulator, iOS 8
            Reporter: Shingo Toda
            Priority: Minor


Using iPad Air, even though presentationstylen option is set to {{pagesheet}} or {{formsheet}},
contents always look fullscreen mode. I attempted to load a png image (dimension is 144 x
144) and below html onto InAppBrowser but results were the same.

{code}
<html>
  <head>
    <meta name="viewport" content="width=320" />
    <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <!-- ISO-8859-1
-->
    <style>
        body {background-color:lightgray}
        h1   {color:blue}
        p    {color:green}
    </style>
    <title>IAB test page</title>
    <script type="text/javascript" charset="utf-8" src="../../../cordova-incl.js"></script>
  </head>
  <body id="stage" class="theme">
    <h1>Local URL</h1>
    <button type="button" onclick="document.getElementById('msg').textContent = 'Are You
Happy???'">Click Here!</button>
    <div id="msg"></div>
</html>
{code}

I saw when opening those files on InAppBrowser, the following message always comes up regardless
value of presentationstyle.

{code}
2014-11-10 17:27:46.681 mobilespec[1385:60b] Setting the WebView's frame to {{0, 0}, {768,
980}}
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message