<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>108982</bug_id>
          
          <creation_ts>2013-02-05 14:11:59 -0800</creation_ts>
          <short_desc>Webkit ignores viewport scaling when arriving at page via 302 redirect from .mobi domains</short_desc>
          <delta_ts>2013-10-07 11:58:26 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Layout and Rendering</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>UNCONFIRMED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc>http://sandbox.mojiva.com/dlozovoy/page1.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Patrick Brady">patrick.brady</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>giulio.moretto</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>825803</commentid>
    <comment_count>0</comment_count>
    <who name="Patrick Brady">patrick.brady</who>
    <bug_when>2013-02-05 14:11:59 -0800</bug_when>
    <thetext>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 &quot;Viewport scale = 0.5&quot;.

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 &quot;Viewport scale = 1.&quot; Correspondingly, the 1000x1000 pixel image now displays at double the size it does when the page is visited directly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>857308</commentid>
    <comment_count>1</comment_count>
    <who name="Patrick Brady">patrick.brady</who>
    <bug_when>2013-03-18 10:56:45 -0700</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>857672</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2013-03-18 16:06:19 -0700</bug_when>
    <thetext>See also: bug 97556.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>937009</commentid>
    <comment_count>3</comment_count>
    <who name="Giulio Moretto">giulio.moretto</who>
    <bug_when>2013-10-07 01:59:30 -0700</bug_when>
    <thetext>I noticed this behavior with .co domains with a 302 redirect with iOS7 safari.
Maybe it is applied to all 302 redirects.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>937162</commentid>
    <comment_count>4</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2013-10-07 11:58:26 -0700</bug_when>
    <thetext>iOS bugs should be filed at bugreport.apple.com</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>