<?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>39924</bug_id>
          
          <creation_ts>2010-05-29 11:40:22 -0700</creation_ts>
          <short_desc>Reducing page zoom causes incorrect component offset values</short_desc>
          <delta_ts>2023-05-05 13:15:08 -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>Mac (Intel)</rep_platform>
          <op_sys>OS X 10.6</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>60318</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Andre-John Mas">andrejohn.mas</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>eae</cc>
    
    <cc>leviw</cc>
    
    <cc>mmacleod</cc>
    
    <cc>rniwa</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>232133</commentid>
    <comment_count>0</comment_count>
      <attachid>57414</attachid>
    <who name="Andre-John Mas">andrejohn.mas</who>
    <bug_when>2010-05-29 11:40:22 -0700</bug_when>
    <thetext>Created attachment 57414
Test case illustrating the bug

I have run into an issue where zooming out of a page ( cmd - ) causes the element offset to become incorrect. This can have an impact on dynamic HTML which is not expecting this behaviour. Tests indicate this is a WebKit related issue, since both Safari and Chrome are impacted, while Opera and Firefox are not.

Tested on MacOS X 10.6 only.

I have attached a test case showing the issue:
  1 - open the test case
  2 - click on the button, in page, and observe displayed offset in console
  3 - zoom out at least twice (more if possible)
  4 - click on the button, in page, and observe displayed offset in console, compare to step 2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>232993</commentid>
    <comment_count>1</comment_count>
    <who name="Andre-John Mas">andrejohn.mas</who>
    <bug_when>2010-06-01 17:04:54 -0700</bug_when>
    <thetext>Just for reference versions of browsers tested with:
  - Google Chrome (OS X) 5.0.375.55
  - Webkit 4.0.5 (6531.22.7, r58136)
  - Firefox 3.6.4
  - Opera 0.10</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>232994</commentid>
    <comment_count>2</comment_count>
    <who name="Andre-John Mas">andrejohn.mas</who>
    <bug_when>2010-06-01 17:05:12 -0700</bug_when>
    <thetext>Oops, that should have been 10.10 for Opera</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>426994</commentid>
    <comment_count>3</comment_count>
    <who name="Emil A Eklund">eae</who>
    <bug_when>2011-06-24 11:10:53 -0700</bug_when>
    <thetext>*** Bug 63333 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1953253</commentid>
    <comment_count>4</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-05-05 12:56:20 -0700</bug_when>
    <thetext>I am not able to reproduce this bug using steps from Comment 0 and also using the attached testcase on Safari 16.4 and it does not show different values (I zoomed in to extreme as well - more than once).

It matches with Chrome Canary and keep it as:

[Log] left: 300, top: 300 (attachment.cgi, line 27, x6)

Can we mark this as &quot;RESOLVED CONFIGURATION CHANGED&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1953273</commentid>
    <comment_count>5</comment_count>
    <who name="Andre-John Mas">andrejohn.mas</who>
    <bug_when>2023-05-05 13:14:36 -0700</bug_when>
    <thetext>I just tested using Safari on iOS 16.4.1 (a) and I can no longer reproduce the issue. 

I’ll close this.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>57414</attachid>
            <date>2010-05-29 11:40:22 -0700</date>
            <delta_ts>2010-05-29 11:40:22 -0700</delta_ts>
            <desc>Test case illustrating the bug</desc>
            <filename>test-case.html</filename>
            <type>text/html</type>
            <size>2393</size>
            <attacher name="Andre-John Mas">andrejohn.mas</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWwgUFVCTElDICItLy9XM0MvL0RURCBYSFRNTCAxLjAgU3RyaWN0Ly9FTiIg
Imh0dHA6Ly93d3cudzMub3JnL1RSL3hodG1sMS9EVEQveGh0bWwxLXN0cmljdC5kdGQiPgo8aHRt
bD4KCjxoZWFkPgogICA8dGl0bGU+VGVzdCBjYXNlPC90aXRsZT4KICAgCiAgIDxzdHlsZSB0eXBl
PSJ0ZXh0L2NzcyI+CiAgIAogICAgICAjb3V0ZXIgewogICAgICAgICAgd2lkdGg6IDQwMHB4Owog
ICAgICAgICAgaGVpZ2h0OiA0MDBweDsKICAgICAgfQogICAgICAKICAgICAgI291dGVyIGRpdiB7
CiAgICAgICAgICBwb3NpdGlvbjogYWJzb2x1dGU7CiAgICAgICAgICB3aWR0aDogMTAwcHg7CiAg
ICAgICAgICBoZWlnaHQ6IDEwMHB4OwogICAgICAgICAgYm9yZGVyOiBzb2xpZCAxcHggYmxhY2s7
CiAgICAgIH0KICAgICAgCiAgIDwvc3R5bGU+CiAgIAogICA8c2NyaXB0IHR5cGU9InRleHQvamF2
YXNjcmlwdCI+CiAgICAgIGZ1bmN0aW9uIHNob3dQb3NpdGlvbiggaWQpIHsKICAgICAgICAgIHZh
ciBlbGVtID0gZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoaWQpOwogICAgICAgICAgdmFyIHBvcyA9
IGZpbmRQb3MoZWxlbSkKICAgICAgICAgIGNvbnNvbGUubG9nKCJsZWZ0OiAiICsgcG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