WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
UNCONFIRMED
108982
Webkit ignores viewport scaling when arriving at page via 302 redirect from .mobi domains
https://bugs.webkit.org/show_bug.cgi?id=108982
Summary
Webkit ignores viewport scaling when arriving at page via 302 redirect from ....
Patrick Brady
Reported
2013-02-05 14:11:59 PST
To reproduce: First, see the expected behavior by visiting
http://sandbox.mojiva.com/dlozovoy/page2.html
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
http://sandbox.mojiva.com/dlozovoy/page1.html
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Patrick Brady
Comment 1
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.
Alexey Proskuryakov
Comment 2
2013-03-18 16:06:19 PDT
See also:
bug 97556
.
Giulio Moretto
Comment 3
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.
Simon Fraser (smfr)
Comment 4
2013-10-07 11:58:26 PDT
iOS bugs should be filed at bugreport.apple.com
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug