[ 
https://issues.apache.org/jira/browse/CB-9024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jesse MacFadyen resolved CB-9024.
---------------------------------
    Resolution: Cannot Reproduce

All devices I tested with showed the red bar top to bottom. ( undesired 
behavior)
Devices used : htc8x with wp8.1, nokia 520 with wp8.0, and a nokia 920 with 
windows 10 tech preview
Hiding the SystemTray ( at the top ) resulted in all 3 devices showing the 
white stripe at the bottom. ( desired behavior )
As a workaround, I suggest you add a document.body.margin-top -20px when the 
SystemTray is shown.

{code}
document.addEventListener("DOMContentLoaded",function(){
    var str = "redDiv height = " + redDiv.offsetHeight;
    str += "\ndoc.body.width = " + document.body.offsetWidth;
    str += "\ndoc.body.height = " + document.body.offsetHeight;
    str += "\nwindows.width = " + window.innerWidth;
    str += "\nwindow height = " + window.innerHeight;
   window.alert(str);
});
///
redDiv height = 529
doc.body.width = 320
doc.body.height = 534
window.width = 768
window.height = 1229
{code}









> Incorrect screen height in Lumia 535
> ------------------------------------
>
>                 Key: CB-9024
>                 URL: https://issues.apache.org/jira/browse/CB-9024
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: WP8
>    Affects Versions: 5.0.0
>         Environment: Windows phone 8 html
>            Reporter: Sergi Arbona
>            Assignee: Jesse MacFadyen
>
> In the external URL attached in this issue, there is a HTML page that shows a 
> 99% height red div.
> This page has been tested in desktop with IE 11 AND IE 10, in Lumia 920 
> broswer and Lumia 535 browser and all devices show a small white line at the 
> end of the red div.
> Using this HTML page as the index.html in a cordova wp8 App shows the same 
> white line in Lumia 920 but not in Lumia 535. The Lumia 535 shows the full 
> screen with a red div.
> Maybe the system bar (back, start and search buttons) is confusing cordova 
> that thinks there is no system bar like in 920?
> Both 920 and 535 have Lumia Denim version.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to