smritimanab / carrington

Automatically exported from code.google.com/p/carrington
0 stars 0 forks source link

Mobile: BlackBerry Browser in OS 5.0 interprets viewport meta tag poorly #20

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The iPhone viewport meta tag:

    <meta name="viewport" content="width=320; initial-scale=1.0;
maximum-scale=1.0; user-scalable=0;"/>

http://developer.apple.com/safari/library/documentation/AppleApplications/Refere
nce/SafariHTMLRef/Articles/MetaTags.html

is being poorly interpreted by the BlackBerry browser on some devices in OS
5.0. While the iPhone will go full-width even when a page with the meta tag
(specifying 320) is loaded in landscape mode (480), the BlackBerry browser
instead shows ugly empty space on the left.

Removing the width seems like the best approach (iPhone resolution will
surely change in the future), but testing is needed on the iPhone and
Android to see what ramifications this will have.

<rant>If the BlackBerry browser devs wanted to be clever and support this
meta tag, they should have done so with the same implementation approach as
the iPhone. Having to add code now to address their different handling of
this just pisses me off.</rant>

Original issue reported on code.google.com by alexking...@gmail.com on 5 Dec 2009 at 12:51

GoogleCodeExporter commented 8 years ago

Original comment by alexking...@gmail.com on 5 Dec 2009 at 12:51

GoogleCodeExporter commented 8 years ago

Original comment by alexking...@gmail.com on 1 Jan 2010 at 7:55

GoogleCodeExporter commented 8 years ago
Removed width=320, iPhone seems fine with it and BlackBerry is much happier.

Original comment by alexking...@gmail.com on 6 Jan 2010 at 5:35