Bug 112633 - Mobile Safari for iOS and Google Chrome for iOS ignore viewport settings on .mobi domains
Summary: Mobile Safari for iOS and Google Chrome for iOS ignore viewport settings on ....
Status: RESOLVED DUPLICATE of bug 97556
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Major
Assignee: Nobody
URL: http://www.davidroessli.com/logs/2010...
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-18 15:09 PDT by W. Craig Hooper
Modified: 2013-03-27 16:05 PDT (History)
2 users (show)

See Also:


Attachments
Shows Page Content loading in Mobile safari on .mobi TLD. Note pages redirected from .mobi TLD are affected as well. (537.65 KB, video/quicktime)
2013-03-18 15:09 PDT, W. Craig Hooper
no flags Details
Shows Page Content loading in Mobile safari on .com TLD. Note page content renders OK as well as content redirected from .com TLD (628.45 KB, video/quicktime)
2013-03-18 15:12 PDT, W. Craig Hooper
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description W. Craig Hooper 2013-03-18 15:09:38 PDT
Created attachment 193666 [details]
Shows Page Content loading in Mobile safari on .mobi TLD. Note pages redirected from .mobi TLD are affected as well.

Mobile Safari for iOS and Google Chrome for iOS ignore viewport settings on .mobi domains. If you don't specify a viewport for content served from a .mobi domain the rendering engine assumes a certain viewport other than for content served from a .com domain. If you define your own viewport it will be ignored.

Additionally, webkit will ignore viewport settings on the first page load when a landing page is re-directed through a .mobi domain.

EX: 

We deliver the same content from ads.mocean.mobi & ads.moceanrocks.com

On the .mobi domain you can't zoom out to see the entire page. On the .com domain you can! You can try it by yourself on your iPhone here:


http://ads.moceanrocks.com/ad?site=24292&zone=113689&size_x=320&size_y=480
Everything is OK


http://ads.mocean.mobi/ad?site=24292&zone=113689&size_x=320&size_y=480
Page content is skewed and even when a page is redirected from a .mobi TLD the view port settings will be ignored on the first page load.

See the attached videos for reference.
Comment 1 W. Craig Hooper 2013-03-18 15:12:42 PDT
Created attachment 193668 [details]
Shows Page Content loading in Mobile safari on .com TLD. Note page content renders OK as well as content redirected from .com TLD
Comment 2 Alexey Proskuryakov 2013-03-18 16:06:01 PDT
How is this different from bug 97556?
Comment 3 Alexey Proskuryakov 2013-03-27 16:05:34 PDT
No answer, resolving as duplicate.

*** This bug has been marked as a duplicate of bug 97556 ***