Bug 112633

Summary: Mobile Safari for iOS and Google Chrome for iOS ignore viewport settings on .mobi domains
Product: WebKit Reporter: W. Craig Hooper <wchooper>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Major CC: ap, wchooper
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
URL: http://www.davidroessli.com/logs/2010/04/safari_ignores_viewport_mobi_domains/
Attachments:
Description Flags
Shows Page Content loading in Mobile safari on .mobi TLD. Note pages redirected from .mobi TLD are affected as well.
none
Shows Page Content loading in Mobile safari on .com TLD. Note page content renders OK as well as content redirected from .com TLD none

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 ***