<?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>66256</bug_id>
          
          <creation_ts>2011-08-15 14:53:33 -0700</creation_ts>
          <short_desc>Incorrect CSS dimensions in px on page zoom</short_desc>
          <delta_ts>2022-07-12 15:11:03 -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>CSS</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc>http://cjbportfolio.com/lab/webkitbug.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="CJ Bates">cjbates123</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>aroben</cc>
    
    <cc>bfulgham</cc>
    
    <cc>donotknow</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>451310</commentid>
    <comment_count>0</comment_count>
    <who name="CJ Bates">cjbates123</who>
    <bug_when>2011-08-15 14:53:33 -0700</bug_when>
    <thetext>When changing the page zoom, the CSS &quot;width&quot; property of some elements are off by +/- 1px.  I assume this has to do with the rounding calculations when a page is zoomed.

I&apos;ve provided a link to a page that demos this bug.  I am alerting the width of an element, and if you zoom the page in or out you can see that the width is sometimes off by one px compared to what is being set in the CSS.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>451786</commentid>
    <comment_count>1</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-08-16 11:51:02 -0700</bug_when>
    <thetext>I can reproduce in Safari 5.1 on Lion and Windows 7.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1882656</commentid>
    <comment_count>2</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2022-07-12 15:10:52 -0700</bug_when>
    <thetext>This still happens in Safari 15.5+.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1882657</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-07-12 15:11:03 -0700</bug_when>
    <thetext>&lt;rdar://problem/96913055&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>