You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Michael Brooks (JIRA)" <ji...@apache.org> on 2012/08/28 06:45:07 UTC
[jira] [Commented] (CB-1282) Fix Black Background on BlackBerry
[ https://issues.apache.org/jira/browse/CB-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13442951#comment-13442951 ]
Michael Brooks commented on CB-1282:
------------------------------------
Commit [f593a4|https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-app-hello-world.git;a=commit;h=f593a4992e39d5dc65365e12160a0d9cf231276a]
Commit [dcae31|https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-app-hello-world.git;a=commit;h=dcae31fcf54af56a5cb56f92bbbbc82aa2ab2882]
BlackBerry has an article on [Content Rendering of High-Resolution Devices|http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/WebWorks-Content-Rendering-on-High-Resolution-Devices/ta-p/1344439]. In the article, there is no direct recommendation but the pros and cons of {{target-densitydpi=}} and {{height=}} weighed.
On my BlackBerry 9900 (OS7):
- {{height=}} fixes the viewport but zooms-in and blurs the content.
- {{target-densitydpi=}} improves the visual quality, but does not fix the viewport height.
- {{height=}} and {{target-densitydpi=}} fixes the viewport and improves the quality.
I've chose to use the last solution. In issue CB-1281, I'll test the rendering on all devices.
> Fix Black Background on BlackBerry
> ----------------------------------
>
> Key: CB-1282
> URL: https://issues.apache.org/jira/browse/CB-1282
> Project: Apache Cordova
> Issue Type: Bug
> Components: App Hello World
> Affects Versions: 2.1.0
> Reporter: Michael Brooks
> Assignee: Michael Brooks
> Fix For: 2.1.0
>
>
> On the BlackBerry, the viewport first expands to the device's screen, then displays a scrollbar. If the content is smaller than the device screen, then a black background is displayed.
> Since the Hello World app is smaller than the screen, it has an ugly black background on the bottom.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira