Bug 108982 - Webkit ignores viewport scaling when arriving at page via 302 redirect from .mobi domains
Summary: Webkit ignores viewport scaling when arriving at page via 302 redirect from ....
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: http://sandbox.mojiva.com/dlozovoy/pa...
Depends on:
Reported: 2013-02-05 14:11 PST by Patrick Brady
Modified: 2013-10-07 11:58 PDT (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Brady 2013-02-05 14:11:59 PST
To reproduce:

First, see the expected behavior by visiting


from Safari or Chrome on iOS. The viewport settings on this page have initial-scale=0.5, and a javascript snippet shows this value to the user with the message "Viewport scale = 0.5".

Next, from the same browser, visit


And click the banner image (a number 1) which goes through a 302 redirect to arrive at the same page from before. This time, the javascript snippet shows the user that "Viewport scale = 1." Correspondingly, the 1000x1000 pixel image now displays at double the size it does when the page is visited directly.
Comment 1 Patrick Brady 2013-03-18 10:56:45 PDT
The issue appears to be specific to 302 redirects from .mobi domains. Webkit properly ignores viewport settings for pages on .mobi domains, but on iOS this behavior is also applied to any pages that are arrived at via a redirect from a .mobi domain.
Comment 2 Alexey Proskuryakov 2013-03-18 16:06:19 PDT
See also: bug 97556.
Comment 3 Giulio Moretto 2013-10-07 01:59:30 PDT
I noticed this behavior with .co domains with a 302 redirect with iOS7 safari.
Maybe it is applied to all 302 redirects.
Comment 4 Simon Fraser (smfr) 2013-10-07 11:58:26 PDT
iOS bugs should be filed at bugreport.apple.com