<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>137145</bug_id>
          
          <creation_ts>2014-09-26 00:46:10 -0700</creation_ts>
          <short_desc>REGRESSION (iOS 8): Standalone mode shifts the web app content up</short_desc>
          <delta_ts>2022-02-10 15:44:38 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>Other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Reza">mmfrezabakhshi</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>boisseau.simon</cc>
    
    <cc>dev+webkit</cc>
    
    <cc>hearcomestreble</cc>
    
    <cc>ilari</cc>
    
    <cc>mmfrezabakhshi</cc>
    
    <cc>richard</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1037441</commentid>
    <comment_count>0</comment_count>
    <who name="Reza">mmfrezabakhshi</who>
    <bug_when>2014-09-26 00:46:10 -0700</bug_when>
    <thetext>Starting with ios 8 all webapps (web pages opened in standalone mode) are shifted up by the height of status bar so that the status bar appears over the page and you will have an empty area at the button of the page.
the page height is incorrectly reported as 748 in landscape mode of ipad Air.

minimal html:
----------------------------------
&lt;!DOCTYPE html!&gt;
&lt;html&gt;
        &lt;head&gt;
                &lt;meta name=&quot;apple-mobile-web-app-capable&quot; content=&quot;yes&quot;/&gt;
                &lt;meta name=&quot;apple-mobile-web-status-bar-style&quot; content=&quot;black&quot;/&gt;
                &lt;link rel=&apos;stylesheet&apos; href=&apos;site.css&apos;/&gt;
        &lt;/head&gt;
        &lt;body&gt;
        &lt;/body&gt;
&lt;/html&gt;
------------------------------
minimal CSS
site.css:

------------------------------
html, body{
	height:100%;
}

body{
	background-color:blue;
}

------------------------------

you would be able to see the white strip on the bottom of the page in standalone mode.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1039299</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2014-10-03 12:41:17 -0700</bug_when>
    <thetext>&lt;rdar://problem/18541363&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1042256</commentid>
    <comment_count>2</comment_count>
    <who name="Reza">mmfrezabakhshi</who>
    <bug_when>2014-10-16 17:42:30 -0700</bug_when>
    <thetext>as a workaround, open your web app in portrait mode and then you can rotate it to landscape. it works fine when open the app in portrait mode.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1065893</commentid>
    <comment_count>3</comment_count>
    <who name="richard">richard</who>
    <bug_when>2015-01-31 17:00:19 -0800</bug_when>
    <thetext>Is there any chance of getting this fixed? It requires a bunch of annoying workarounds specific to iPad and iOS8.  iOS7 works fine, and iOS8 on iPhone doesn&apos;t exhibit this problem. Obviously impacting a lot of developers, as lots of stack overlow discussion on the topic.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1082001</commentid>
    <comment_count>4</comment_count>
    <who name="Simon">boisseau.simon</who>
    <bug_when>2015-04-01 08:07:31 -0700</bug_when>
    <thetext>Still present in 8.2, this happens if the webapp is open when the device orientation is anything but straight (on landscape and in up-side-down portrait).

Note that on the first launch from the homescreen, even when the content is not shifted up (in straight portrait mode), the status bar text content is invisible (maybe the same color as the background). Then it appears normally on the next launch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1840002</commentid>
    <comment_count>5</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2022-02-10 15:44:38 -0800</bug_when>
    <thetext>The fix for this issue was needed outside the WebKit project, therefore this is being resolved as &apos;Moved&apos;.

This should now be fixed in shipping software.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>